summaryrefslogtreecommitdiffstats
path: root/package/matchbox/mb-applet-startup-monitor-true-false.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/matchbox/mb-applet-startup-monitor-true-false.patch')
-rw-r--r--package/matchbox/mb-applet-startup-monitor-true-false.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/matchbox/mb-applet-startup-monitor-true-false.patch b/package/matchbox/mb-applet-startup-monitor-true-false.patch
new file mode 100644
index 000000000..c92a0776b
--- /dev/null
+++ b/package/matchbox/mb-applet-startup-monitor-true-false.patch
@@ -0,0 +1,21 @@
+mbmonitor uses TRUE / FALSE without defining them
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ mbmonitor.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+Index: mb-applet-startup-monitor-0.1/mbmonitor.c
+===================================================================
+--- mb-applet-startup-monitor-0.1.orig/mbmonitor.c
++++ mb-applet-startup-monitor-0.1/mbmonitor.c
+@@ -43,6 +43,9 @@
+ #define POLLTIME 10
+ #define HOURGLASS_N_FRAMES 8
+
++#define FALSE 0
++#define TRUE 1
++
+ typedef struct LaunchList LaunchList;
+
+ struct LaunchList