diff --git a/q-7.11-configure.patch b/q-7.11-configure.patch new file mode 100644 index 0000000..8a1a8a6 --- /dev/null +++ b/q-7.11-configure.patch @@ -0,0 +1,12 @@ +diff -Nrup a/acinclude.m4 b/acinclude.m4 +--- a/acinclude.m4 2006-02-12 02:26:40.000000000 -0700 ++++ b/acinclude.m4 2020-01-16 08:53:45.111761351 -0700 +@@ -53,7 +53,7 @@ AC_CACHE_VAL(q_cv_must_reinstall_sighand + #include + #endif + typedef RETSIGTYPE sigfunc(); +-int nsigint; ++volatile int nsigint; + #ifdef HAVE_POSIX_SIGNALS + sigfunc * + set_signal_handler(sig, handler) diff --git a/q.spec b/q.spec index 77a615c..41e0d2b 100644 --- a/q.spec +++ b/q.spec @@ -1,6 +1,6 @@ Name: q Version: 7.11 -Release: 38%{?dist} +Release: 39%{?dist} Summary: Equational programming language License: GPLv2+ Source: http://ovh.dl.sourceforge.net/sourceforge/q-lang/q-%{version}.tar.gz @@ -15,6 +15,7 @@ BuildRequires: autoconf, libtool, gettext-devel Patch0: q-7.11-format-security.patch # bz#1106959 Patch1: q-7.11-tcl86.patch +Patch2: q-7.11-configure.patch %description Q is a powerful and extensible functional programming language based @@ -73,6 +74,7 @@ Requires: libtool %setup -q %patch0 -p0 -b .format-security %patch1 -p1 -b .tcl86 +%patch2 -p1 -b .configure sed -i 's|@libtool@|libtool|' src/Makefile.in rm -fr libltdl* libtool @@ -150,6 +152,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/q/examples _docs_staging %changelog +* Fri Jan 17 2020 Jeff Law - 7.11-39 +- Fix configure tests compromised by LTO + * Fri Jul 26 2019 Fedora Release Engineering - 7.11-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild