[mozvoikko/f15] A patch for mozbz#629734

Martin Stransky stransky at fedoraproject.org
Wed Jun 22 15:51:54 UTC 2011


commit 7a8d624f814e2c9052c3db45ffe8fad55f6124b8
Author: Martin Stransky <stransky at redhat.com>
Date:   Wed Jun 22 17:51:35 2011 +0200

    A patch for mozbz#629734

 mozvoikko-dict.patch |   24 ++++++++++++++++++++++++
 mozvoikko.spec       |    3 ++-
 2 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/mozvoikko-dict.patch b/mozvoikko-dict.patch
new file mode 100644
index 0000000..82fc1b2
--- /dev/null
+++ b/mozvoikko-dict.patch
@@ -0,0 +1,24 @@
+A patch for:
+
+# HG changeset patch
+# User Kyle Huey <khuey at kylehuey.com>
+# Date 1297987780 18000
+# Node ID f99b6caaaff9afe4a4b2f9d7106586125f00690b
+# Parent  14033ede4ba6498d10223fb88605324eb1848b5d
+Bug 629734: Integrate hunspell test suite as an xpcshell test. r=ehsan
+
+
+diff -up mozvoikko/src/mozVoikkoSpell.cpp.old mozvoikko/src/mozVoikkoSpell.cpp
+--- mozvoikko/src/mozVoikkoSpell.cpp.old	2010-11-22 21:45:39.000000000 +0100
++++ mozvoikko/src/mozVoikkoSpell.cpp	2011-06-22 17:48:54.360684336 +0200
+@@ -293,3 +293,10 @@ NS_IMETHODIMP mozVoikkoSpell::Suggest(co
+ 
+     return rv;
+ }
++
++/* void loadDictionariesFromDir (in nsIFile dir); */
++NS_IMETHODIMP mozVoikkoSpell::LoadDictionariesFromDir(nsIFile *dir)
++{
++    return NS_ERROR_NOT_IMPLEMENTED;
++}
++
diff --git a/mozvoikko.spec b/mozvoikko.spec
index 3062cd9..aa7c2bb 100644
--- a/mozvoikko.spec
+++ b/mozvoikko.spec
@@ -24,6 +24,7 @@ URL:            http://voikko.sourceforge.net
 Source0:         http://ap1.pp.fi/mozilla/mozvoikko/1.9.0/%{name}-%{version}.tar.bz2
 # From upstream mailing list, will probably be applied to SVN at some point
 Patch0:         %{name}-%{version}-xulrunner-includes-linking.patch
+Patch1:         mozvoikko-dict.patch
 
 # For xulrunner unstable
 BuildRequires:  gecko-devel-unstable >= %{gecko_ver}
@@ -44,7 +45,7 @@ spell-checker Voikko.
 %prep
 %setup -q -n mozvoikko
 %patch0 -p1
-
+%patch1 -p1
 
 %build
 make -f Makefile.xulrunner extension-files CFLAGS="$RPM_OPT_FLAGS" \


More information about the scm-commits mailing list