summaryrefslogtreecommitdiffstats
path: root/net-im/kf
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2006-08-28 17:27:02 +0000
committeranray <anray@FreeBSD.org>2006-08-28 17:27:02 +0000
commit16913e68711c7e4174d244fc49a71034e63daa74 (patch)
treecbedefc106b8007e178848c8d7dddeb96b7d050f /net-im/kf
parent923fc47da3c4a98951d943d0c6686e3c207af094 (diff)
downloadFreeBSD-ports-16913e68711c7e4174d244fc49a71034e63daa74.zip
FreeBSD-ports-16913e68711c7e4174d244fc49a71034e63daa74.tar.gz
Fix build on 7-CURRENT
Reported by: kris (pointyhat)
Diffstat (limited to 'net-im/kf')
-rw-r--r--net-im/kf/files/patch-src__jispman.c21
-rw-r--r--net-im/kf/files/patch-src__jispman.h11
2 files changed, 28 insertions, 4 deletions
diff --git a/net-im/kf/files/patch-src__jispman.c b/net-im/kf/files/patch-src__jispman.c
index c50d447..02158d2e 100644
--- a/net-im/kf/files/patch-src__jispman.c
+++ b/net-im/kf/files/patch-src__jispman.c
@@ -1,6 +1,19 @@
---- src/jispman.c.orig Sun Apr 10 13:03:54 2005
-+++ src/jispman.c Thu Nov 24 23:08:21 2005
-@@ -162,13 +162,14 @@
+--- src/jispman.c.orig Sun Apr 10 19:03:54 2005
++++ src/jispman.c Mon Aug 28 20:11:49 2006
+@@ -25,12 +25,6 @@
+ #include "emoticons.h"
+ #include "kf.h"
+
+-struct _KfJispManager {
+- GHashTable *jisps; /** A hash-table of all JISP pachages managed by this object, indexed by their filename */
+- GList *patterns; /** A list of patterns */
+-};
+-
+-
+ /**
+ * \brief create a new instance of KfJispManager
+ * \return a new instance of KfJispManager
+@@ -162,13 +156,14 @@
**/
KfJisp *kf_jisp_manager_get_jisp_for_jid (KfJispManager *jispman, const gchar *jid)
{
@@ -18,7 +31,7 @@
if (g_pattern_match_string (pattern->gpat, jid))
return pattern->jisp;
-@@ -188,10 +189,12 @@
+@@ -188,10 +183,12 @@
**/
KfJispPattern *kf_jisp_pattern_new (const gchar *pattern, KfJisp *jisp)
{
diff --git a/net-im/kf/files/patch-src__jispman.h b/net-im/kf/files/patch-src__jispman.h
new file mode 100644
index 0000000..b17fa93
--- /dev/null
+++ b/net-im/kf/files/patch-src__jispman.h
@@ -0,0 +1,11 @@
+--- src/jispman.h.orig Sun Apr 10 19:03:54 2005
++++ src/jispman.h Mon Aug 28 20:11:39 2006
+@@ -25,6 +25,8 @@
+ #include "jisp.h"
+
+ typedef struct _KfJispManager {
++ GHashTable *jisps;
++ GList *patterns;
+ } KfJispManager;
+
+ /**
OpenPOWER on IntegriCloud