rpms/hunspell/devel hunspell-1.2.1-1863239.badstructs.patch, 1.1, 1.2 hunspell.spec, 1.32, 1.33

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Thu Jan 3 16:07:50 UTC 2008


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21726

Modified Files:
	hunspell-1.2.1-1863239.badstructs.patch hunspell.spec 
Log Message:
might as well micro-optimize

hunspell-1.2.1-1863239.badstructs.patch:

Index: hunspell-1.2.1-1863239.badstructs.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell-1.2.1-1863239.badstructs.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hunspell-1.2.1-1863239.badstructs.patch	3 Jan 2008 15:51:56 -0000	1.1
+++ hunspell-1.2.1-1863239.badstructs.patch	3 Jan 2008 16:07:16 -0000	1.2
@@ -1,6 +1,6 @@
 diff -ru hunspell-1.2.1.orig/src/hunspell/csutil.cxx hunspell-1.2.1/src/hunspell/csutil.cxx
 --- hunspell-1.2.1.orig/src/hunspell/csutil.cxx	2007-11-01 15:40:53.000000000 +0000
-+++ hunspell-1.2.1/src/hunspell/csutil.cxx	2008-01-03 15:41:54.000000000 +0000
++++ hunspell-1.2.1/src/hunspell/csutil.cxx	2008-01-03 16:02:31.000000000 +0000
 @@ -941,7 +941,7 @@
  { 0x00, 0xfc, 0xdc },
  { 0x00, 0xfd, 0xdd },
@@ -163,3 +163,11 @@
  };
  
  struct cs_info * get_current_cs(const char * es) {
+@@ -5117,6 +5117,7 @@
+   for (int i = 0; i < n; i++) {
+     if (strcmp(es,encds[i].enc_name) == 0) {
+       ccs = encds[i].cs_table;
++      break;
+     }
+   }
+   return ccs;


Index: hunspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- hunspell.spec	3 Jan 2008 15:51:56 -0000	1.32
+++ hunspell.spec	3 Jan 2008 16:07:16 -0000	1.33
@@ -1,7 +1,7 @@
 Name:      hunspell
 Summary:   Hunspell is a spell checker and morphological analyzer library
 Version:   1.2.1
-Release:   3%{?dist}
+Release:   4%{?dist}
 Source:    http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
 Group:     System Environment/Libraries
 URL:       http://hunspell.sourceforge.net/
@@ -82,7 +82,7 @@
 %{_libdir}/pkgconfig/hunspell.pc
 
 %changelog
-* Thu Jan 03 2008 Caolan McNamara <caolanm at redhat.com> - 1.2.1-3
+* Thu Jan 03 2008 Caolan McNamara <caolanm at redhat.com> - 1.2.1-4
 - add hunspell-1.2.1-1863239.badstructs.patch
 
 * Fri Nov 09 2007 Caolan McNamara <caolanm at redhat.com> - 1.2.1-2




More information about the fedora-extras-commits mailing list