rpms/hunspell/devel hunspell-1.2.2-xulrunner.pita.patch, 1.3, 1.4 hunspell.spec, 1.43, 1.44

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Tue Jun 17 19:53:28 UTC 2008


Author: caolanm

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

Modified Files:
	hunspell.spec 
Added Files:
	hunspell-1.2.2-xulrunner.pita.patch 
Log Message:
leave it in for now, and get it on some future mass rebuild

hunspell-1.2.2-xulrunner.pita.patch:

Index: hunspell-1.2.2-xulrunner.pita.patch
===================================================================
RCS file: hunspell-1.2.2-xulrunner.pita.patch
diff -N hunspell-1.2.2-xulrunner.pita.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ hunspell-1.2.2-xulrunner.pita.patch	17 Jun 2008 19:52:16 -0000	1.4
@@ -0,0 +1,42 @@
+--- hunspell-1.2.2.orig/src/hunspell/hunspell.hxx	2008-04-02 13:12:03.000000000 +0100
++++ hunspell-1.2.2/src/hunspell/hunspell.hxx	2008-05-16 14:49:12.000000000 +0100
+@@ -51,7 +51,8 @@
+    * input: path of affix file and dictionary file
+    */
+ 
+-  Hunspell(const char * affpath, const char * dpath, const char * key = NULL);
++  Hunspell(const char * affpath, const char * dpath);
++  Hunspell(const char * affpath, const char * dpath, const char * key);
+   ~Hunspell();
+ 
+   /* load extra dictionaries (only dic files) */
+@@ -181,7 +181,7 @@
+    const char * get_xml_pos(const char * s, const char * attr);
+    int    get_xml_list(char ***slst, char * list, char * tag);
+    int    check_xml_par(char * q, char * attr, char * value);
+-
++   void init(const char * affpath, const char * dpath, const char * key);
+ };
+ 
+ #endif
+--- hunspell-1.2.2.orig/src/hunspell/hunspell.cxx	2008-04-02 13:12:30.000000000 +0100
++++ hunspell-1.2.2/src/hunspell/hunspell.cxx	2008-05-16 14:49:50.000000000 +0100
+@@ -22,8 +22,18 @@
+ #endif
+ #endif
+ 
++Hunspell::Hunspell(const char * affpath, const char * dpath)
++{
++    init(affpath, dpath, NULL);
++}
++
+ Hunspell::Hunspell(const char * affpath, const char * dpath, const char * key)
+ {
++    init(affpath, dpath, key);
++}
++
++void Hunspell::init(const char * affpath, const char * dpath, const char * key)
++{
+     encoding = NULL;
+     csconv = NULL;
+     utf8 = 0;


Index: hunspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- hunspell.spec	17 Jun 2008 19:22:17 -0000	1.43
+++ hunspell.spec	17 Jun 2008 19:52:16 -0000	1.44
@@ -9,6 +9,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License:   LGPLv2+ or GPLv2+ or MPLv1.1
 BuildRequires: libtool, ncurses-devel
+Patch0:    hunspell-1.2.2-xulrunner.pita.patch
 
 %description
 Hunspell is a spell checker and morphological analyzer library and program 
@@ -26,6 +27,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .pita.patch
 # Filter unwanted Requires for the "use explicitely" string in ispellaff2myspell
 cat << \EOF > %{name}-req
 #!/bin/sh




More information about the fedora-extras-commits mailing list