public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fftw2] epel10.3: Avoid implicit function declaration during configure (#2143573)
Date: Wed, 07 Oct 2026 16:21:32 GMT [thread overview]
Message-ID: <179139009216.1.10938696600570566367.rpms-fftw2-468fdd9d7f85@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fftw2
Branch : epel10.3
Commit : 468fdd9d7f854dd9e73e2f511b13469c9320740c
Author : Florian Weimer <fweimer@redhat.com>
Date : 2022-11-17T10:25:27+01:00
Stats : +29/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/fftw2/c/468fdd9d7f854dd9e73e2f511b13469c9320740c?branch=epel10.3
Log:
Avoid implicit function declaration during configure (#2143573)
---
diff --git a/fftw2-configure.patch b/fftw2-configure.patch
new file mode 100644
index 0000000..6b51243
--- /dev/null
+++ b/fftw2-configure.patch
@@ -0,0 +1,20 @@
+Avoid implicit declaration of exit in ac_cv_header_stdc
+
+This is fixed in newer autoconf versions, so no need to patch
+configure.in.
+
+diff --git a/configure b/configure
+index f5bab28675937533..5af49397a60b4811 100755
+--- a/configure
++++ b/configure
+@@ -4459,8 +4459,8 @@ main ()
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+- exit(2);
+- exit (0);
++ return 2;
++ return 0;
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
diff --git a/fftw2.spec b/fftw2.spec
index 5d1dda6..2ba385f 100644
--- a/fftw2.spec
+++ b/fftw2.spec
@@ -1,12 +1,13 @@
Name: fftw2
Version: 2.1.5
-Release: 43%{?dist}
+Release: 44%{?dist}
Summary: Fast Fourier Transform library (version 2)
%define real_name fftw
License: GPLv2+
URL: http://www.fftw.org/
Source0: ftp://ftp.fftw.org/pub/fftw/fftw-%{version}.tar.gz
+Patch0: fftw2-configure.patch
BuildRequires: make
BuildRequires: gcc-gfortran
@@ -46,6 +47,10 @@ transform library (version 2).
%prep
%setup -q -c %{real_name}-%{version}
+pushd %{real_name}-%{version}
+%patch0 -p1
+popd
+
mv %{real_name}-%{version} single
cp -a single double
@@ -110,6 +115,9 @@ rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
%{_libdir}/*.a
%changelog
+* Thu Nov 17 2022 Florian Weimer <fweimer@redhat.com> - 2.1.5-44
+- Avoid implicit function declaration during configure (#2143573)
+
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.5-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
reply other threads:[~2026-10-07 16:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179139009216.1.10938696600570566367.rpms-fftw2-468fdd9d7f85@fedoraproject.org \
--to=fweimer@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox