garden: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
636b3c0cfe
commit
1d7a619b45
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue