summaryrefslogtreecommitdiff
path: root/gpm/gpm-1.20.4-nodebug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gpm/gpm-1.20.4-nodebug.patch')
-rw-r--r--gpm/gpm-1.20.4-nodebug.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gpm/gpm-1.20.4-nodebug.patch b/gpm/gpm-1.20.4-nodebug.patch
new file mode 100644
index 000000000..282651925
--- /dev/null
+++ b/gpm/gpm-1.20.4-nodebug.patch
@@ -0,0 +1,15 @@
+diff -pruN gpm-1.20.3.orig/src/lib/report-lib.c gpm-1.20.3/src/lib/report-lib.c
+--- gpm-1.20.3.orig/src/lib/report-lib.c 2008-05-08 09:34:10.000000000 +0000
++++ gpm-1.20.3/src/lib/report-lib.c 2008-05-08 09:37:27.000000000 +0000
+@@ -29,6 +29,11 @@ void gpm_report(int line, char *file, in
+ char *string = NULL;
+ int log_level;
+ va_list ap;
++#ifndef DEBUG_VERBOSE
++ if(stat==GPM_STAT_DEBUG)
++ return;
++#endif
++
+ va_start(ap,text);
+
+ switch(stat) {

Generated by cgit