summaryrefslogtreecommitdiff
path: root/gpe-gallery/files/mcheck.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gpe-gallery/files/mcheck.patch')
-rw-r--r--gpe-gallery/files/mcheck.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/gpe-gallery/files/mcheck.patch b/gpe-gallery/files/mcheck.patch
index e69de29bb2..a2f2376eba 100644
--- a/gpe-gallery/files/mcheck.patch
+++ b/gpe-gallery/files/mcheck.patch
@@ -0,0 +1,24 @@
+Index: gpe-gallery-0.95/main.c
+===================================================================
+--- gpe-gallery-0.95.orig/main.c 2004-09-07 09:01:39.000000000 -0500
++++ gpe-gallery-0.95/main.c 2004-11-18 15:55:18.856050416 -0600
+@@ -19,7 +19,9 @@
+ #include <fcntl.h>
+ #include <math.h>
+ #include <time.h>
++#ifdef USE_MCHECK
+ #include <mcheck.h>
++#endif
+
+ #include <gtk/gtk.h>
+ #include <gdk/gdk.h>
+@@ -1115,7 +1117,9 @@
+ GdkBitmap *bmap;
+ struct stat arg_stat;
+
++#ifdef USE_MCHECK
+ mtrace ();
++#endif
+
+ if (gpe_application_init (&argc, &argv) == FALSE)
+ exit (1);