aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Jaekel <holger.jaekel@gmx.de>2021-07-01 23:13:51 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-07-08 05:13:49 +0000
commit22fa470b0eb9b2297e80fabc3cfeb00f0fef1747 (patch)
treed950f50f6de9d953d526315e2bebfe8549c2ee66
parenteba3333fd5af9c01ea403ed60afea6f6c4491623 (diff)
downloadaports-22fa470b0eb9b2297e80fabc3cfeb00f0fef1747.tar.gz
aports-22fa470b0eb9b2297e80fabc3cfeb00f0fef1747.tar.bz2
aports-22fa470b0eb9b2297e80fabc3cfeb00f0fef1747.tar.xz
testing/netcdf-fortran: fix build with GCC 10+
-rw-r--r--testing/netcdf-fortran/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/netcdf-fortran/APKBUILD b/testing/netcdf-fortran/APKBUILD
index 02b1eac08c..ec72b549af 100644
--- a/testing/netcdf-fortran/APKBUILD
+++ b/testing/netcdf-fortran/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=netcdf-fortran
pkgver=4.5.3
-pkgrel=0
+pkgrel=1
pkgdesc="NetCDF fortran bindings"
url="https://www.unidata.ucar.edu/software/netcdf/"
arch="all !armhf !armv7 !s390x !mips !mips64" # disabling on armhf and armv7 as netcdf is not available
@@ -25,6 +25,8 @@ subpackages="
source="$pkgname-$pkgver.tar.gz::https://github.com/Unidata/netcdf-fortran/archive/v$pkgver.tar.gz"
build() {
+ FCFLAGS="$FCFLAGS -fallow-argument-mismatch" \
+ FFLAGS="$FFLAGS -fallow-argument-mismatch" \
./configure \
--prefix=/usr \
--disable-static