summaryrefslogtreecommitdiffstats
path: root/oniguruma.spec
diff options
context:
space:
mode:
Diffstat (limited to 'oniguruma.spec')
-rw-r--r--oniguruma.spec15
1 files changed, 11 insertions, 4 deletions
diff --git a/oniguruma.spec b/oniguruma.spec
index 5ea3411..f08c899 100644
--- a/oniguruma.spec
+++ b/oniguruma.spec
@@ -28,9 +28,10 @@
# Fedora 34 have 6.9.7, soname 5.1
# Fedora 34 have 6.9.6, soname 5.1
# Fedora 35 have 6.9.5, soname 5.0
-# RHEL-9 have 6.9.6, soname 5.1
-# RHEL-8 have 6.8.2, soname 5.0
-# EPEL-7 have 6.8.2, soname 5.0
+# RHEL-10 have 6.9.9, soname 5.4
+# RHEL-9 have 6.9.6, soname 5.1
+# RHEL-8 have 6.8.2, soname 5.0
+# EPEL-7 have 6.8.2, soname 5.0
%global mainver 6.9.9
#global postver 1
@@ -41,7 +42,7 @@ Name: %{libname}%{oldsoname}php
Name: %{libname}
%endif
Version: %{mainver}%{?postver:.%postver}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Regular expressions library
# SPDX confirmed
@@ -51,6 +52,8 @@ Source0: https://github.com/kkos/oniguruma/releases/download/v%{mainver}%{?postv
# Bump soname from 5 to 105 to allow parallel installation
Patch0: onig-soname.patch
+# Fix memleaks
+Patch1: onig-6.9.9-fix-memleaks-initialize-memory.patch
BuildRequires: gcc
@@ -90,6 +93,7 @@ grep ^LTVERSION= configure
%if %{with rename}
%patch -P0 -p1 -b .bump
%endif
+%patch -P1 -p1 -b .leaks
%build
@@ -163,6 +167,9 @@ sed -e '/^test_regset_LDADD/s/$/ -lrt/' -i test/Makefile
%changelog
+* Fri Nov 15 2024 Remi Collet <remi@remirepo.net> -6.9.9-2
+- fix memory leaks, initialize memory (from EL-10)
+
* Tue Oct 17 2023 Remi Collet <remi@remirepo.net> -6.9.9-1
- update to 6.9.9