rpms/aspell/devel aspell-0.60.5-gcc43.patch, NONE, 1.1 aspell.spec, 1.39, 1.40

Ivana Varekova (varekova) fedora-extras-commits at redhat.com
Tue Jan 22 13:22:31 UTC 2008


Author: varekova

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

Modified Files:
	aspell.spec 
Added Files:
	aspell-0.60.5-gcc43.patch 
Log Message:
- add gcc43 patch


aspell-0.60.5-gcc43.patch:

--- NEW FILE aspell-0.60.5-gcc43.patch ---
diff -up aspell-0.60.5/modules/speller/default/readonly_ws.cpp.pom aspell-0.60.5/modules/speller/default/readonly_ws.cpp
--- aspell-0.60.5/modules/speller/default/readonly_ws.cpp.pom	2006-11-18 10:17:19.000000000 +0100
+++ aspell-0.60.5/modules/speller/default/readonly_ws.cpp	2008-01-22 13:11:19.000000000 +0100
@@ -726,7 +726,7 @@ namespace {
   struct WordLookupParms {
     const char * block_begin;
     WordLookupParms() {}
-    typedef Vector<u32int>      Vector;
+    typedef acommon::Vector<u32int>      Vector;
     typedef u32int              Value;
     typedef const char *        Key;
     static const bool is_multi = false;
diff -up aspell-0.60.5/modules/speller/default/affix.hpp.pom aspell-0.60.5/modules/speller/default/affix.hpp
--- aspell-0.60.5/modules/speller/default/affix.hpp.pom	2004-11-29 18:50:06.000000000 +0100
+++ aspell-0.60.5/modules/speller/default/affix.hpp	2008-01-22 13:11:19.000000000 +0100
@@ -109,7 +109,7 @@ namespace aspeller {
     }
     WordAff * expand_suffix(ParmString word, const unsigned char * new_aff,
                             ObjStack &, int limit = INT_MAX,
-                            unsigned char * new_aff = 0, WordAff * * * l = 0,
+                            unsigned char * new_aff_2 = 0, WordAff * * * l = 0,
                             ParmString orig_word = 0) const;
     
   private:
diff -up aspell-0.60.5/modules/speller/default/affix.cpp.pom aspell-0.60.5/modules/speller/default/affix.cpp
--- aspell-0.60.5/modules/speller/default/affix.cpp.pom	2006-01-21 15:27:54.000000000 +0100
+++ aspell-0.60.5/modules/speller/default/affix.cpp	2008-01-22 13:11:19.000000000 +0100
@@ -193,7 +193,7 @@ struct CondsLookupParms {
   typedef const Conds * Value;
   typedef const char * Key;
   static const bool is_multi = false;
-  hash<const char *> hfun;
+  ::hash<const char *> hfun;
   size_t hash(const char * s) {return hfun(s);}
   bool equal(const char * x, const char * y) {return strcmp(x,y) == 0;}
   const char * key(const Conds * c) {return c->str;}
diff -up aspell-0.60.5/prog/aspell.cpp.pom aspell-0.60.5/prog/aspell.cpp
--- aspell-0.60.5/prog/aspell.cpp.pom	2006-12-19 11:51:08.000000000 +0100
+++ aspell-0.60.5/prog/aspell.cpp	2008-01-22 13:11:19.000000000 +0100
@@ -1882,7 +1882,7 @@ struct SML_Parms {
   typedef SML_WordEntry Value;
   typedef const char * Key;
   static const bool is_multi = false;
-  hash<const char *> hash;
+  ::hash<const char *> hash;
   bool equal(Key x, Key y) {return strcmp(x,y) == 0;}
   Key key(const Value & v) {return v.word;}
 };
@@ -2033,7 +2033,7 @@ struct CML_Parms {
   typedef CML_Entry Value;
   typedef const char * Key;
   static const bool is_multi = true;
-  hash<const char *> hash;
+  ::hash<const char *> hash;
   bool equal(Key x, Key y) {return strcmp(x,y) == 0;}
   Key key(const Value & v) {return v.word;}
 };
diff -up aspell-0.60.5/common/string.hpp.pom aspell-0.60.5/common/string.hpp
--- aspell-0.60.5/common/string.hpp.pom	2004-11-29 18:50:05.000000000 +0100
+++ aspell-0.60.5/common/string.hpp	2008-01-22 13:11:19.000000000 +0100
@@ -492,7 +492,7 @@ namespace acommon {
 
 namespace std
 {
-  template<> static inline void swap(acommon::String & x, acommon::String & y) {return x.swap(y);}
+  template<> inline void swap(acommon::String & x, acommon::String & y) {return x.swap(y);}
 }
 
 #endif
diff -up aspell-0.60.5/common/string_map.hpp.pom aspell-0.60.5/common/string_map.hpp
--- aspell-0.60.5/common/string_map.hpp.pom	2004-06-17 14:41:47.000000000 +0200
+++ aspell-0.60.5/common/string_map.hpp	2008-01-22 14:00:24.000000000 +0100
@@ -11,7 +11,7 @@
 #include "parm_string.hpp"
 #include "posib_err.hpp"
 #include "string_pair.hpp"
-#include "hash.hpp"
+#include "hash-t.hpp"
 #include "objstack.hpp"
 
 


Index: aspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/aspell/devel/aspell.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- aspell.spec	27 Aug 2007 11:59:52 -0000	1.39
+++ aspell.spec	22 Jan 2008 13:21:49 -0000	1.40
@@ -1,7 +1,7 @@
 Summary: A spelling checker
 Name: aspell
 Version: 0.60.5
-Release: 3%{?dist} 
+Release: 4%{?dist}
 Epoch: 12
 License: LGPLv2 and MIT
 Group: Applications/Text
@@ -11,6 +11,7 @@
 Patch3: aspell-0.60.3-install_info.patch
 Patch5: aspell-0.60.5-fileconflict.patch
 Patch7: aspell-0.60.5-pspell_conf.patch
+Patch8: aspell-0.60.5-gcc43.patch
 Requires: aspell-en
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gettext, ncurses-devel, pkgconfig
@@ -52,6 +53,7 @@
 %patch3 -p1 -b .iinfo
 %patch5 -p1 -b .fc
 %patch7 -p1 -b .mlib
+%patch8 -p1 -b .gcc43
 iconv -f windows-1252 -t utf-8 manual/aspell.info -o manual/aspell.info.aux
 mv manual/aspell.info.aux manual/aspell.info
 
@@ -129,6 +131,9 @@
 %{_mandir}/man1/pspell-config.1*
 
 %changelog
+* Tue Jan 22 2008 Ivana Varekova <varekova at redhat.com> - 12:0.60.5-4
+- add gcc43 patch
+
 * Thu Feb  8 2007 Ivana Varekova <varekova at redhat.com> - 12:0.60.5-3
 - incorporate package review feedback
 




More information about the fedora-extras-commits mailing list