summaryrefslogtreecommitdiffstats
path: root/base/gpm/gpm-1.20.5-nodebug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'base/gpm/gpm-1.20.5-nodebug.patch')
-rw-r--r--base/gpm/gpm-1.20.5-nodebug.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/base/gpm/gpm-1.20.5-nodebug.patch b/base/gpm/gpm-1.20.5-nodebug.patch
new file mode 100644
index 000000000..a77aa233e
--- /dev/null
+++ b/base/gpm/gpm-1.20.5-nodebug.patch
@@ -0,0 +1,16 @@
+Binary files gpm-1.20.5.orig/.Makefile.in.swp and gpm-1.20.5/.Makefile.in.swp differ
+diff -pruN gpm-1.20.5.orig/src/lib/report-lib.c gpm-1.20.5/src/lib/report-lib.c
+--- gpm-1.20.5.orig/src/lib/report-lib.c 2008-06-17 09:54:54.811257867 +1000
++++ gpm-1.20.5/src/lib/report-lib.c 2008-06-17 10:08:36.780265133 +1000
+@@ -29,6 +29,10 @@ 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
+
+ if (stat == GPM_STAT_DEBUG) return;
+
+