pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/arpack-ng



Module Name:    pkgsrc
Committed By:   mcf
Date:           Thu Nov 19 19:58:27 UTC 2020

Modified Files:
        pkgsrc/math/arpack-ng: Makefile

Log Message:
arpack-ng: fix build with gfortran 10

gfortran 10 rejects certain argument mismatches, causing build
errors. This issue is fixed upstream[0], but the commit modifies
40 files, so until the next release use -fallow-argument-mismatch
to downgrade these to warnings, as suggested by the gcc 10 porting
guide[1].

[0] https://github.com/opencollab/arpack-ng/commit/9418632214acf6d387896ab29a8f5bdff2d4e38a
[1] https://gcc.gnu.org/gcc-10/porting_to.html#argument-mismatch


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/arpack-ng/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/arpack-ng/Makefile
diff -u pkgsrc/math/arpack-ng/Makefile:1.2 pkgsrc/math/arpack-ng/Makefile:1.3
--- pkgsrc/math/arpack-ng/Makefile:1.2  Mon Oct 12 21:52:02 2020
+++ pkgsrc/math/arpack-ng/Makefile      Thu Nov 19 19:58:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/10/12 21:52:02 bacon Exp $
+# $NetBSD: Makefile,v 1.3 2020/11/19 19:58:27 mcf Exp $
 
 DISTNAME=      arpack-ng-3.7.0
 PKGREVISION=   1
@@ -13,6 +13,10 @@ LICENSE=     original-bsd
 USE_LANGUAGES= c fortran
 USE_CMAKE=     yes
 
+# Required to build with gfortran 10. Fixed upstream in
+# https://github.com/opencollab/arpack-ng/commit/9418632214
+FFLAGS+=       -fallow-argument-mismatch
+
 OBJDIR=                obj
 
 CONFIGURE_DIRS=        ${OBJDIR}



Home | Main Index | Thread Index | Old Index