diff --git a/guile-2.2.7.tar.xz b/guile-3.0.9.tar.xz similarity index 35% rename from guile-2.2.7.tar.xz rename to guile-3.0.9.tar.xz index 49552e7624abe980cd89eb4d8bc7c6259b8f9cd3..49c3bfe77f004b9b7c1a812af20e40947e5d371e 100644 Binary files a/guile-2.2.7.tar.xz and b/guile-3.0.9.tar.xz differ diff --git a/guile-configure.patch b/guile-configure.patch index e5b94368fcad419c9ea7e919b546e95e59acfe8f..d7465d6b7ff1a6703e877328fa68e8f0e0d7f1dd 100644 --- a/guile-configure.patch +++ b/guile-configure.patch @@ -1,11 +1,21 @@ -diff -Nrup a/m4/mathfunc.m4 b/m4/mathfunc.m4 ---- a/m4/mathfunc.m4 2016-12-14 17:03:33.000000000 -0700 -+++ b/m4/mathfunc.m4 2020-01-06 19:48:46.684158282 -0700 +From 91d4e9af47820c18b398906a5567b4672dee3f80 Mon Sep 17 00:00:00 2001 +From: ut004527 +Date: Tue, 6 Feb 2024 15:51:44 +0800 +Subject: [PATCH] guile-configure + +--- + m4/mathfunc.m4 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/m4/mathfunc.m4 b/m4/mathfunc.m4 +index 4cdd0a9..02adea0 100644 +--- a/m4/mathfunc.m4 ++++ b/m4/mathfunc.m4 @@ -60,7 +60,7 @@ AC_DEFUN([gl_MATHFUNC], #endif #include $4 -- $2 (*funcptr) $3 = ]func[; +- $2 (* volatile funcptr) $3 = ]func[; + __attribute__ ((used)) $2 (*funcptr) $3 = ]func[; int i_ret; float f_ret; @@ -14,8 +24,11 @@ diff -Nrup a/m4/mathfunc.m4 b/m4/mathfunc.m4 #endif #include $4 -- $2 (*funcptr) $3 = ]func[; +- $2 (* volatile funcptr) $3 = ]func[; + __attribute__ ((used)) $2 (*funcptr) $3 = ]func[; int i_ret; float f_ret; double d_ret; +-- +2.27.0 + diff --git a/guile.spec b/guile.spec index fb2c4f97fde2b6a061e3bbec37bfec83233b4c0c..6437ba1ece4a7c877df42d7501b6579819a1999a 100644 --- a/guile.spec +++ b/guile.spec @@ -1,13 +1,13 @@ Name: guile -Version: 2.2.7 -Release: 4 +Version: 3.0.9 +Release: 1 Epoch: 5 Summary: GNU's Ubiquitous Intelligent Language for Extension License: LGPLv3+ URL: https://www.gnu.org/software/guile/ Source: https://ftp.gnu.org/gnu/guile/%{name}-%{version}.tar.xz -%global g_version 2.2 +%global g_version 3.0 #Patch from fedora #https://src.fedoraproject.org/rpms/guile22/blob/f38/f/guile-multilb.patch @@ -112,6 +112,9 @@ fi %{_mandir}/man1/guile.1.gz %changelog +* Tue Feb 06 2024 wangqia - 3.0.9-1 +- upgrade to 3.0.9 + * Wed Jan 03 2024 konglidong - 2.2.7-4 - fix bad macro expansion in changelog