From ecb6f2b346ad89ec5375517baac8c23603ed949c Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Tue, 17 Aug 2010 06:26:01 +0200 Subject: [PATCH] disable warnings programatically --- xchat-wdk.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/xchat-wdk.patch b/xchat-wdk.patch index b046b720..83819a61 100644 --- a/xchat-wdk.patch +++ b/xchat-wdk.patch @@ -644,7 +644,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/editlist.c xchat-wdk/src #include diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/fe-gtk.c xchat-wdk/src/fe-gtk/fe-gtk.c --- xchat-wdk.orig/src/fe-gtk/fe-gtk.c 2010-08-14 03:46:21 +0200 -+++ xchat-wdk/src/fe-gtk/fe-gtk.c 2010-08-15 12:24:39 +0200 ++++ xchat-wdk/src/fe-gtk/fe-gtk.c 2010-08-17 06:24:51 +0200 @@ -19,7 +19,6 @@ #include #include @@ -670,6 +670,15 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/fe-gtk.c xchat-wdk/src/f #include "gtkutil.h" #include "maingui.h" #include "pixmaps.h" +@@ -330,7 +332,7 @@ + { + session *sess; + +- if (getenv ("XCHAT_WARNING_IGNORE")) ++ /* if (getenv ("XCHAT_WARNING_IGNORE")) */ + return; + + sess = find_dialog (serv_list->data, "(warnings)"); diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/fe-gtk.h xchat-wdk/src/fe-gtk/fe-gtk.h --- xchat-wdk.orig/src/fe-gtk/fe-gtk.h 2010-05-30 08:31:29 +0200 +++ xchat-wdk/src/fe-gtk/fe-gtk.h 2010-08-15 12:24:39 +0200