summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/matchbox-applet-startup-monitor/files/matchbox-applet-startup-monitor-0.1-false-true-fix.patch')
-rw-r--r--x11-plugins/matchbox-applet-startup-monitor/files/matchbox-applet-startup-monitor-0.1-false-true-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-plugins/matchbox-applet-startup-monitor/files/matchbox-applet-startup-monitor-0.1-false-true-fix.patch b/x11-plugins/matchbox-applet-startup-monitor/files/matchbox-applet-startup-monitor-0.1-false-true-fix.patch
new file mode 100644
index 000000000000..1c8530497313
--- /dev/null
+++ b/x11-plugins/matchbox-applet-startup-monitor/files/matchbox-applet-startup-monitor-0.1-false-true-fix.patch
@@ -0,0 +1,18 @@
+diff -Naurp mb-applet-startup-monitor-0.1.orig/mbmonitor.c mb-applet-startup-monitor-0.1/mbmonitor.c
+--- mb-applet-startup-monitor-0.1.orig/mbmonitor.c 2004-12-21 11:00:24.000000000 -0500
++++ mb-applet-startup-monitor-0.1/mbmonitor.c 2006-06-23 12:33:38.000000000 -0400
+@@ -39,6 +39,14 @@
+
+ #include <libmb/mb.h>
+
++/* libmb inherits FALSE/TRUE definitions only if compiled with jpeg support. */
++#ifndef FALSE
++#define FALSE 0
++#endif
++#ifndef TRUE
++#define TRUE 1
++#endif
++
+ #define TIMEOUT 20
+ #define POLLTIME 10
+ #define HOURGLASS_N_FRAMES 8