diff --git a/algol68g-configure-glibc.patch b/algol68g-configure-glibc.patch new file mode 100644 index 0000000..1b605f7 --- /dev/null +++ b/algol68g-configure-glibc.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -386,7 +386,7 @@ + # + + AC_MSG_CHECKING([GNU C library]) +-AC_RUN_IFELSE([AC_LANG_PROGRAM([], [(void) gnu_get_libc_version();])], ++AC_RUN_IFELSE([AC_LANG_PROGRAM([#include ], [(void) gnu_get_libc_version();])], + [AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_GNU_C_LIB, 1, [Define this if GNU C library is detected.]) + ], diff --git a/algol68g.spec b/algol68g.spec index c690bc1..32f0c8b 100644 --- a/algol68g.spec +++ b/algol68g.spec @@ -7,11 +7,15 @@ Name: algol68g Summary: Algol 68 Genie compiler-interpreter Version: 3.5.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://jmvdveer.home.xs4all.nl/en.algol-68-genie.html Source: https://jmvdveer.home.xs4all.nl/%{name}-%{version}.tar.gz +Patch0: algol68g-configure-glibc.patch BuildRequires: gcc +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: autoconf-archive BuildRequires: pkgconfig(ncurses) BuildRequires: pkgconfig(gsl) BuildRequires: pkgconfig(readline) @@ -37,6 +41,7 @@ that has continuing responsibility for Algol 60 and Algol 68. %autosetup -p1 %build +autoreconf %configure %make_build @@ -55,6 +60,10 @@ that has continuing responsibility for Algol 60 and Algol 68. %exclude %{_pkgdocdir}/COPYING %changelog +* Wed May 01 2024 Oleg Girko - 3.5.1-2 +- Add patch to make configure detect glibc again +- Run autoreconf again: we have patches to configure,ac + * Thu Feb 22 2024 Oleg Girko - 3.5.1-1 - Update to 3.5.1