[man-db/f14] - Resolves: #716312 cleanup problem

Ivana Varekova varekova at fedoraproject.org
Mon Jul 4 13:22:38 UTC 2011


commit 44c087be88d9b5156cf715e3cb4ee32e99a8c3a7
Author: Ivana Hutarova Varekova <varekova at redhat.com>
Date:   Mon Jul 4 15:44:20 2011 +0200

    - Resolves: #716312
      cleanup problem

 man-db-2.5.9-cleanup.patch |   12 ++++++++++++
 man-db.spec                |    8 +++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/man-db-2.5.9-cleanup.patch b/man-db-2.5.9-cleanup.patch
new file mode 100644
index 0000000..a2071fe
--- /dev/null
+++ b/man-db-2.5.9-cleanup.patch
@@ -0,0 +1,12 @@
+diff -up man-db-2.5.7/lib/cleanup.c.pom man-db-2.5.7/lib/cleanup.c
+--- man-db-2.5.7/lib/cleanup.c.pom	2008-07-30 03:04:12.000000000 +0200
++++ man-db-2.5.7/lib/cleanup.c	2011-07-04 15:39:53.000000000 +0200
+@@ -179,6 +179,8 @@ void
+ do_cleanups (void)
+ {
+   do_cleanups_sigsafe (0);
++  tos = 0;
++  nslots = 0;
+   free (stack);
+   stack = NULL;
+ }
diff --git a/man-db.spec b/man-db.spec
index 086e377..4c39bd3 100644
--- a/man-db.spec
+++ b/man-db.spec
@@ -3,7 +3,7 @@
 Summary: Database cached manual pager suite
 Name: man-db
 Version: 2.5.7
-Release: 8%{?dist}
+Release: 9%{?dist}
 # project man-db  GPLv2+
 # Gnulib part     GPLv3+
 License: GPLv2+ and GPLv3+
@@ -22,6 +22,7 @@ Patch1: man-db-2.5.9-654394.patch
 Patch2: man-db-2.5.9-658368.patch
 # Resolves: #693458 - .so bar.1 no longer works
 Patch3: man-db-2.5.9-693458.patch
+Patch4: man-db-2.5.9-cleanup.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Obsoletes: man < 2.0
 Provides: man-pages-reader
@@ -43,6 +44,7 @@ manual pages.
 %patch1 -p1 -b .af
 %patch2 -p1 -b .abrt
 %patch3 -p1 -b .so
+%patch4 -p1 -b .cp
 
 %build
 %configure\
@@ -124,6 +126,10 @@ rm -rf $RPM_BUILD_ROOT
 %lang(ja)   %{_datadir}/man/ja/man*/*
 
 %changelog
+* Mon Jul  4 2011 Ivana Hutarova Varekova <varekova at redhat.com> - 2.5.7-9
+- Resolves: #716312
+  cleanup problem
+
 * Fri Jun 17 2011 Ivana Hutarova Varekova <varekova at redhat.com> - 2.5.7-8
 - Resolves: #693458
   .so bar.1 no longer works


More information about the scm-commits mailing list