summary refs log tree commit diff stats
path: root/xchat-wdk.patch
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-10-01 19:13:44 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-10-01 19:13:44 +0200
commit17a432a6610d4fb6a57b3a5dc6a9822ea2a3c874 (patch)
tree1d375fc8bf9976c4f9a01c957adf3c344c572275 /xchat-wdk.patch
parente884294f649f09406a51089a2c89e89343608ee7 (diff)
spelling support
Diffstat (limited to 'xchat-wdk.patch')
-rw-r--r--xchat-wdk.patch17
1 files changed, 16 insertions, 1 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch
index 16963717..0f068634 100644
--- a/xchat-wdk.patch
+++ b/xchat-wdk.patch
@@ -1296,7 +1296,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/setup.c xchat-wdk/src/fe
  
 diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/sexy-spell-entry.c xchat-wdk/src/fe-gtk/sexy-spell-entry.c
 --- xchat-wdk.orig/src/fe-gtk/sexy-spell-entry.c	2006-07-17 05:51:02 +0000
-+++ xchat-wdk/src/fe-gtk/sexy-spell-entry.c	2010-09-28 14:38:39 +0000
++++ xchat-wdk/src/fe-gtk/sexy-spell-entry.c	2010-10-01 16:19:55 +0000
 @@ -31,6 +31,20 @@
  /*#include "gtkspell-iso-codes.h"
  #include "sexy-marshal.h"*/
@@ -1318,6 +1318,21 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/sexy-spell-entry.c xchat
  /*
   * Bunch of poop to make enchant into a runtime dependency rather than a
   * compile-time dependency.  This makes it so I don't have to hear the
+@@ -134,12 +148,10 @@
+ 	GModule *enchant;
+ 	gpointer funcptr;
+ 
+-	enchant = g_module_open("libenchant", 0);
++	enchant = g_module_open("libenchant.dll", 0);
+ 	if (enchant == NULL)
+ 	{
+-		enchant = g_module_open("libenchant.so.1", 0);
+-		if (enchant == NULL)
+-			return;
++		return;
+ 	}
+ 
+ 	have_enchant = TRUE;
 diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/xtext.c xchat-wdk/src/fe-gtk/xtext.c
 --- xchat-wdk.orig/src/fe-gtk/xtext.c	2008-08-29 11:24:17 +0000
 +++ xchat-wdk/src/fe-gtk/xtext.c	2010-09-29 20:07:37 +0000