summaryrefslogtreecommitdiff
path: root/chat/weechat/patches
diff options
context:
space:
mode:
Diffstat (limited to 'chat/weechat/patches')
-rw-r--r--chat/weechat/patches/patch-ad15
-rw-r--r--chat/weechat/patches/patch-src_plugins_script_script_repo_h16
2 files changed, 16 insertions, 15 deletions
diff --git a/chat/weechat/patches/patch-ad b/chat/weechat/patches/patch-ad
deleted file mode 100644
index d7717cd9f4a..00000000000
--- a/chat/weechat/patches/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2012/05/28 22:55:05 tonio Exp $
-
-Solaris build
-
---- src/gui/curses/gui-curses-window.c.orig 2012-01-28 14:02:25.000000000 +0000
-+++ src/gui/curses/gui-curses-window.c
-@@ -31,6 +31,8 @@
- #include <ctype.h>
- #include <stdarg.h>
- #include <libgen.h>
-+#include <unistd.h>
-+#include <termios.h>
- #include <sys/ioctl.h>
-
- #include "../../core/weechat.h"
diff --git a/chat/weechat/patches/patch-src_plugins_script_script_repo_h b/chat/weechat/patches/patch-src_plugins_script_script_repo_h
new file mode 100644
index 00000000000..7c338841102
--- /dev/null
+++ b/chat/weechat/patches/patch-src_plugins_script_script_repo_h
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_plugins_script_script_repo_h,v 1.1 2012/11/24 11:16:07 tonio Exp $
+
+script: fix compilation on OS X
+From weechat commit 485728a43fd7eff34893abc287495242379ab078
+
+--- src/plugins/script/script-repo.h.orig 2012-11-18 09:40:28.000000000 +0000
++++ src/plugins/script/script-repo.h
+@@ -57,7 +57,7 @@ struct t_script_repo
+ extern struct t_script_repo *scripts_repo;
+ extern struct t_script_repo *last_script_repo;
+ extern int script_repo_count, script_repo_count_displayed;
+-struct t_hashtable *script_repo_max_length_field;
++extern struct t_hashtable *script_repo_max_length_field;
+ extern char *script_repo_filter;
+
+ extern int script_repo_script_valid (struct t_script_repo *script);