From e978f786c14b41bf0c47322de07d773c88a032cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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 " -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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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 ' src/incs.h } From cc933f51c758a45e83ca76d6db5b0ed48a7daa6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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 ' common.h From c9e7a405fefa66fe860e15e0cc4b35634a991203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= 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?= 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?= 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?= 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?= 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 " distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz" checksum=ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7 +CFLAGS="-fcommon" + pre_configure() { sed -i 's,,,g' menu-cache-gen/*.[ch] } From 597f848747e4cde188424c9cb394725ac55f84cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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 " 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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 ' nntpclient.h From 3b5bd3449d6a4db5be75885786c073fd74354958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= 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?= 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?= 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?= 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?= 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?= 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 " -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?= 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?= 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 " 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?= 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?= 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?= 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?= 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 " -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?= 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?= 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 " -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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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?= 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 " 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?= 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?= 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?= 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?= 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?= 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?= 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 " -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;" +}