summaryrefslogtreecommitdiff
path: root/textproc/enchant/patches/patch-ab
blob: d6f360e2ed031316e34a9ef96594a3efea4232e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.3 2008/04/17 21:07:18 wiz Exp $

--- src/myspell/myspell_checker.cpp.orig	2008-03-21 02:45:24.000000000 +0100
+++ src/myspell/myspell_checker.cpp
@@ -39,7 +39,7 @@
 #include "enchant-provider.h"
 
 /* built against hunspell 1.1.5 on 2007-03-19 */
-#include "hunspell.hxx"
+#include <hunspell/hunspell.hxx>
 
 ENCHANT_PLUGIN_DECLARE("Myspell")
 
@@ -353,7 +353,7 @@ MySpellChecker::requestDictionary(const 
 	strcpy(aff+len_dic-3, "aff");
 	if (g_file_test(aff, G_FILE_TEST_EXISTS))
 	{
-		myspell = new Hunspell(aff, dic);
+		myspell = new Hunspell(aff, dic, NULL);
 	}
 	g_free(dic);
 	g_free(aff);