From 2cb9654f053547391fc25b2e24e084efee129443 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 4 Nov 2008 22:28:58 +0000 Subject: [PATCH] matchbox: fix mb-applet-startup-monitor compilation (TRUE/FALSE issue) --- package/matchbox/matchbox.mk | 1 + ...mb-applet-startup-monitor-true-false.patch | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 package/matchbox/mb-applet-startup-monitor-true-false.patch diff --git a/package/matchbox/matchbox.mk b/package/matchbox/matchbox.mk index fc71d51bf8..31deef8c41 100644 --- a/package/matchbox/matchbox.mk +++ b/package/matchbox/matchbox.mk @@ -126,6 +126,7 @@ $(MATCHBOX_WM_DIR)/.unpacked: $(DL_DIR)/$(MATCHBOX_WM_SOURCE) $(MATCHBOX_SM_DIR)/.unpacked: $(DL_DIR)/$(MATCHBOX_SM_SOURCE) $(MATCHBOX_CAT) $(DL_DIR)/$(MATCHBOX_SM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + toolchain/patch-kernel.sh $(MATCHBOX_SM_DIR) package/matchbox/ mb-applet-startup-monitor\*.patch touch $(MATCHBOX_SM_DIR)/.unpacked $(MATCHBOX_CN_DIR)/.unpacked: $(DL_DIR)/$(MATCHBOX_CN_SOURCE) 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 0000000000..c92a0776b0 --- /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 +--- + 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 -- 2.30.2