[znc] Add patch to fix crash bug

Nick Bebout nb at fedoraproject.org
Tue Apr 15 01:29:29 UTC 2014


commit 6c87763726ebc122bf643822bcd37607ed1e28aa
Author: Nick Bebout <nb at fedoraproject.org>
Date:   Mon Apr 14 20:29:03 2014 -0500

    Add patch to fix crash bug

 znc.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/znc.spec b/znc.spec
index 1db1168..263c488 100644
--- a/znc.spec
+++ b/znc.spec
@@ -14,11 +14,12 @@ Name:           znc
 Version:        1.2
 #Release:        0.1.20110801git%{?dist}
 #Release:        0.4.rc2%{?dist}
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        ASL 2.0
 Group:          System Environment/Daemons
 URL:            http://znc.in
 Source0:        http://znc.in/releases/znc-1.2.tar.gz
+Patch0:         znc-crashbug.patch
 
 %if %{use_systemd}
 Source1:        znc.service
@@ -105,7 +106,7 @@ python3 module for ZNC
 %prep
 %setup -q -n %{name}-%{version}
 #%setup -q -n znc-1.2-rc2
-#%patch0 -p1
+%patch0 -p1
 %__perl -pi.add_release -e 's|(?<="ZNC \%1\.3f)|-%{release}|' znc.cpp
 chmod -x modules/q.cpp
 
@@ -267,6 +268,9 @@ fi
 %{_libdir}/znc/modpython.so
 
 %changelog
+* Mon Apr 14 2014 Nick Bebout <nb at fedoraproject.org> - 1.2-3
+- Fix potential crash bug when adding channels
+
 * Mon Nov 11 2013 Nick Bebout <nb at fedoraproject.org> - 1.2-2
 - Enable PIE, Fix systemd description, use systemd macros
 


More information about the scm-commits mailing list