leave it in for now, and get it on some future mass rebuild
This commit is contained in:
parent
35f1855326
commit
0d6f907096
42
hunspell-1.2.2-xulrunner.pita.patch
Normal file
42
hunspell-1.2.2-xulrunner.pita.patch
Normal file
@ -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;
|
@ -9,6 +9,7 @@ URL: http://hunspell.sourceforge.net/
|
||||
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 @@ Includes and definitions for developing with hunspell
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .pita.patch
|
||||
# Filter unwanted Requires for the "use explicitely" string in ispellaff2myspell
|
||||
cat << \EOF > %{name}-req
|
||||
#!/bin/sh
|
||||
|
Loading…
Reference in New Issue
Block a user