garden: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:22 +02:00
parent 636b3c0cfe
commit 1d7a619b45

View file

@ -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