summaryrefslogtreecommitdiff
path: root/chat/weechat/patches
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2012-11-24 11:16:06 +0000
committertonio <tonio@pkgsrc.org>2012-11-24 11:16:06 +0000
commitd34344549881b320afebde0e2d98ee3f989e119a (patch)
tree61bae2023b237fe50326f490cf7097ce105006ec /chat/weechat/patches
parentac9e8de72d976875ca47a827f8d8f1cabda9a3c7 (diff)
downloadpkgsrc-d34344549881b320afebde0e2d98ee3f989e119a.tar.gz
Update chat/weechat to 0.3.9.2
Changes: Security: - CVE-2012-5854: Fix buffer overflow when decoding IRC colors in strings - CVE-2012-5534: Fix untrusted command for function hook_process could lead to execution of commands, because of shell expansions Among the new features: - add plugin "script" (replacement of weeget.py and script.pl) - add support of SSL in relay plugin - add color for offline nicks - add system resource limits for WeeChat process - add zoom on merged buffer (default key: alt+"x") - add "Day changed to" in logger backlog - add command line option "-r" (or "--run-command") to run command(s) after startup of WeeChat - add option "swap" for command /buffer - generate alternate IRC nicks dynamically (when all nicks are already in use) - fix rejoin of password protected IRC channels - fix freeze in irc and relay plugins with sockets - fix color of long lines (displayed on more than one line on screen) under FreeBSD - allow update for some variables of hdata - add japanese user's guide, scripting guide and tester's guide - many bugs fixed.
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);