rpms/hunspell/devel hunspell-1.2.8-2812045.warnings.fortify.patch, 1.1, 1.2 hunspell.spec, 1.75, 1.76
Caolan McNamara
caolanm at fedoraproject.org
Tue Jan 5 11:27:13 UTC 2010
Author: caolanm
Update of /cvs/pkgs/rpms/hunspell/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30888
Modified Files:
hunspell-1.2.8-2812045.warnings.fortify.patch hunspell.spec
Log Message:
remove bad const warnings
hunspell-1.2.8-2812045.warnings.fortify.patch:
Makefile.am | 4 +++-
affixmgr.cxx | 10 +++++-----
affixmgr.hxx | 2 +-
csutil.cxx | 2 +-
csutil.hxx | 4 ++--
hashmgr.cxx | 8 ++++----
htypes.hxx | 4 ++--
hunspell.cxx | 6 ++----
replist.cxx | 2 +-
suggestmgr.cxx | 4 ++--
10 files changed, 23 insertions(+), 23 deletions(-)
Index: hunspell-1.2.8-2812045.warnings.fortify.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell-1.2.8-2812045.warnings.fortify.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- hunspell-1.2.8-2812045.warnings.fortify.patch 25 Jun 2009 09:53:50 -0000 1.1
+++ hunspell-1.2.8-2812045.warnings.fortify.patch 5 Jan 2010 11:27:13 -0000 1.2
@@ -12,6 +12,15 @@ diff -ru hunspell-1.2.8.orig/src/hunspel
} else {
rv=NULL;
}
+@@ -3234,7 +3234,7 @@
+ }
+
+ // return the value of suffix
+-const int AffixMgr::have_contclass()
++int AffixMgr::have_contclass()
+ {
+ return havecontclass;
+ }
@@ -4276,7 +4276,7 @@
if (strip[i] == cond[j]) in = 1;
} while ((j < (condl - 1)) && (cond[j] != ']'));
@@ -200,3 +209,15 @@ diff -ru hunspell-1.2.8.orig/src/hunspel
c[i*(n+1) + j] = c[(i-1)*(n+1) + j-1]+1;
b[i*(n+1) + j] = LCS_UPLEFT;
} else if (c[(i-1)*(n+1) + j] >= c[i*(n+1) + j-1]) {
+diff -ru hunspell-1.2.8.orig/src/hunspell/affixmgr.hxx hunspell-1.2.8/src/hunspell/affixmgr.hxx
+--- hunspell-1.2.8.orig/src/hunspell/affixmgr.hxx 2010-01-05 11:21:06.000000000 +0000
++++ hunspell-1.2.8/src/hunspell/affixmgr.hxx 2008-10-30 20:28:59.000000000 +0000
+@@ -192,7 +192,7 @@
+ const char * get_suffix();
+ const char * get_derived();
+ const char * get_version();
+- const int have_contclass();
++ int have_contclass();
+ int get_utf8();
+ int get_complexprefixes();
+ char * get_suffixed(char );
Index: hunspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell.spec,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -p -r1.75 -r1.76
--- hunspell.spec 21 Dec 2009 12:26:03 -0000 1.75
+++ hunspell.spec 5 Jan 2010 11:27:13 -0000 1.76
@@ -1,7 +1,7 @@
Name: hunspell
Summary: A spell checker and morphological analyzer library
Version: 1.2.8
-Release: 14%{?dist}
+Release: 15%{?dist}
Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell
Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell
@@ -127,6 +127,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/hunspell.3.gz
%changelog
+* Tue Jan 05 2010 Caolan McNamara <caolanm at redhat.com> - 1.2.8-15
+- Remove bad const warnings
+
* Mon Dec 21 2009 Caolan McNamara <caolanm at redhat.com> - 1.2.8-14
- Preserve timestamps
More information about the fedora-extras-commits
mailing list