From 881202de9a56c90cd3cf57e304775988c0be393f Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 29 Aug 2023 16:04:07 +0200 Subject: [PATCH] Set build_type_safety_c to 0 (#2145150) Related to: --- ncl.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ncl.spec b/ncl.spec index 31b1614..62009a8 100644 --- a/ncl.spec +++ b/ncl.spec @@ -9,7 +9,7 @@ Name: ncl Version: 6.6.2 -Release: 36%{?dist} +Release: 37%{?dist} Summary: NCAR Command Language and NCAR Graphics License: BSD @@ -185,7 +185,8 @@ sed -i -e 's;load "\$NCARG_ROOT/lib/ncarg/nclex\([^ ;]*\);loadscript(ncargpath(" # (cd ./config; make -f Makefile.ini clean all) # ./config/ymake -config ./config -Curdir . -Topdir . -#make Build CCOPTIONS="$RPM_OPT_FLAGS -fPIC -Werror-implicit-function-declaration" F77=gfortran F77_LD=gfortran\ +# The package does not build in strict C99 mode. See bug 2145150. +%global build_type_safety_c 0 FCOPTIONS="$RPM_OPT_FLAGS -fPIC -fno-second-underscore -fno-range-check -fopenmp" %if 0%{?fedora} || 0%{?rhel} >= 9 @@ -360,6 +361,9 @@ done %changelog +* Tue Aug 29 2023 Florian Weimer - 6.6.2-37 +- Set build_type_safety_c to 0 (#2145150) + * Thu Jul 20 2023 Fedora Release Engineering - 6.6.2-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild