[recoll/f16] Add patch to fix crash (bz #747472)

terjeros terjeros at fedoraproject.org
Mon Oct 24 21:15:22 UTC 2011


commit cfc0cbbb4c4870a1be10b4eb93be066e9b5588a5
Author: Terje Røsten <terje.rosten at ntnu.no>
Date:   Mon Oct 24 23:15:16 2011 +0200

    Add patch to fix crash (bz #747472)

 recoll-1.16.1-rclexecm.patch |   12 ++++++++++++
 recoll.spec                  |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/recoll-1.16.1-rclexecm.patch b/recoll-1.16.1-rclexecm.patch
new file mode 100644
index 0000000..fa5ccaa
--- /dev/null
+++ b/recoll-1.16.1-rclexecm.patch
@@ -0,0 +1,12 @@
+diff -r cefd9bdaf6ed src/filters/rclexecm.py
+--- a/src/filters/rclexecm.py	Thu Oct 13 19:30:45 2011 +0200
++++ b/src/filters/rclexecm.py	Mon Oct 24 09:55:09 2011 +0200
+@@ -112,6 +112,7 @@
+ 
+         # If we have an ipath, that's what we look for, else ask for next entry
+         ipath = ""
++        eof = True
+         self.mimetype = ""
+         try:
+             if params.has_key("ipath:") and len(params["ipath:"]):
+
diff --git a/recoll.spec b/recoll.spec
index 910104d..b7037d3 100644
--- a/recoll.spec
+++ b/recoll.spec
@@ -1,11 +1,12 @@
 Summary:        Desktop full text search tool with Qt GUI
 Name:           recoll
 Version:        1.16.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Group:          Applications/Databases
 License:        GPLv2+
 URL:            http://www.lesbonscomptes.com/recoll/
 Source0:        http://www.lesbonscomptes.com/recoll/recoll-%{version}.tar.gz
+Patch0:         recoll-1.16.1-rclexecm.patch
 BuildRequires:  qt-devel
 BuildRequires:  zlib-devel
 BuildRequires:  aspell-devel
@@ -22,6 +23,7 @@ interface.
 
 %prep
 %setup -q
+%patch0 -p2
 # remove execute bit
 %{__chmod} 0644 utils/{conftree.cpp,conftree.h,debuglog.cpp,debuglog.h}
 
@@ -78,6 +80,9 @@ exit 0
 %{_mandir}/man5/%{name}.conf.5*
 
 %changelog
+* Mon Oct 24 2011 Terje Rosten <terje.rosten at ntnu.no> - 1.16.1-2
+- Add patch to fix crash (bz #747472)
+
 * Tue Oct 18 2011 Terje Rosten <terje.rosten at ntnu.no> - 1.16.1-1
 - 1.16.1.
 


More information about the scm-commits mailing list