Add patch to make configure work on all Linux architectures.
This commit is contained in:
parent
8e88902881
commit
b11bc31e61
2 changed files with 15 additions and 1 deletions
11
algol68g-configure-linux.patch
Normal file
11
algol68g-configure-linux.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -201,7 +201,7 @@
|
||||
# Linux.
|
||||
#
|
||||
# aarch64*-*-linux* is for RaspberryPi-4 on ARM-64 - otherwise http/tcp isnt found
|
||||
-*86-*-gnu | *86_64-*-gnu | *86-*-linux* | *86_64-*-linux* | arm*-*-linux* | aarch*-*-linux*)
|
||||
+*-gnu | *-linux*)
|
||||
AC_DEFINE(BUILD_LINUX, 1, [Define this if LINUX was detected])
|
||||
AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant])
|
||||
AC_MSG_RESULT([linux])
|
||||
|
|
@ -7,13 +7,14 @@
|
|||
Name: algol68g
|
||||
Summary: Algol 68 Genie compiler-interpreter
|
||||
Version: 3.0.3
|
||||
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-cflags.patch
|
||||
Patch1: algol68g-includedir.patch
|
||||
Patch2: algol68g-libpq-include.patch
|
||||
Patch3: algol68g-configure-linux.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
|
|
@ -62,6 +63,8 @@ autoreconf
|
|||
%exclude %{_pkgdocdir}/LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Jan 28 2022 Oleg Girko <ol@infoserver.lv> - 3.0.3-2
|
||||
- Add patch to make configure work on all Linux architectures
|
||||
* Wed Jan 26 2022 Oleg Girko <ol@infoserver.lv> - 3.0.3-1
|
||||
- Update to 3.0.3
|
||||
- Fix download URL to use HTTPS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue