summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-08-17 06:26:01 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-08-17 06:26:01 +0200
commitecb6f2b346ad89ec5375517baac8c23603ed949c (patch)
treec5930a4edf0f9fba33b324438acd0dd7c3bf8ffd
parent9042de5a910e1d6d4bdb1ec7d8a5f7315cfd3dea (diff)
disable warnings programatically
-rw-r--r--xchat-wdk.patch11
1 files changed, 10 insertions, 1 deletions
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 <sys/stat.h>
 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 <stdio.h>
  #include <string.h>
@@ -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