SHA256
1
0
forked from pool/weechat

- added weechat-0.3.4-fix-array-overflow.patch which fixes an

array overflow

OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=31
This commit is contained in:
Guido Berhoerster 2011-02-17 09:27:43 +00:00 committed by Git OBS Bridge
parent 9a54c92f1e
commit cc289950a8
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -urNp weechat-0.3.4.orig/src/plugins/scripts/lua/weechat-lua-api.c weechat-0.3.4/src/plugins/scripts/lua/weechat-lua-api.c
--- weechat-0.3.4.orig/src/plugins/scripts/lua/weechat-lua-api.c 2011-02-17 00:00:18.000000000 +0100
+++ weechat-0.3.4/src/plugins/scripts/lua/weechat-lua-api.c 2011-02-17 00:00:58.000000000 +0100
@@ -1258,7 +1258,6 @@ weechat_lua_api_config_reload_cb (void *
{
lua_argv[0] = (script_callback->data) ? script_callback->data : empty_arg;
lua_argv[1] = script_ptr2str (config_file);
- lua_argv[2] = NULL;
rc = (int *) weechat_lua_exec (script_callback->script,
WEECHAT_SCRIPT_EXEC_INT,

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 17 08:02:54 UTC 2011 - gber@opensuse.org
- added weechat-0.3.4-fix-array-overflow.patch which fixes an
array overflow
-------------------------------------------------------------------
Sun Jan 16 15:08:54 UTC 2011 - pascal.bleser@opensuse.org

View File

@ -25,6 +25,7 @@ Source: http://www.weechat.org/files/src/weechat-%{version}.tar.bz2
Source1: weechat.desktop
Patch1: weechat-0.3.3-fix-strftime.patch
Patch2: weechat-0.3.4-remove-date-time.patch
Patch3: weechat-0.3.4-fix-array-overflow.patch
URL: http://www.weechat.org
Group: Productivity/Networking/IRC
License: GNU General Public License (GPL)
@ -120,6 +121,7 @@ Spell-checking support for %{name}, using the aspell library.
%setup -q
%patch1 -p1
%patch2
%patch3 -p1
%build
export CFLAGS="%{optflags}"