Add patch to make configure detect glibc again
Run autoreconf again: we have patches to configure,ac
This commit is contained in:
parent
a915ce78dd
commit
2d7a246ed5
2 changed files with 21 additions and 1 deletions
11
algol68g-configure-glibc.patch
Normal file
11
algol68g-configure-glibc.patch
Normal file
|
|
@ -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 <gnu/libc-version.h>], [(void) gnu_get_libc_version();])],
|
||||
[AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_GNU_C_LIB, 1, [Define this if GNU C library is detected.])
|
||||
],
|
||||
|
|
@ -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 <ol@infoserver.lv> - 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 <ol@infoserver.lv> - 3.5.1-1
|
||||
- Update to 3.5.1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue