diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-11-04 22:28:58 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-11-04 22:28:58 +0000 |
commit | 2cb9654f053547391fc25b2e24e084efee129443 (patch) | |
tree | 1d16b69c8623446837fe29991165c0b3c6bc1179 | |
parent | ab1c8b394381b7236cdd47bcb62b0eea76cb7b73 (diff) | |
download | buildroot-novena-2cb9654f053547391fc25b2e24e084efee129443.tar.gz buildroot-novena-2cb9654f053547391fc25b2e24e084efee129443.zip |
matchbox: fix mb-applet-startup-monitor compilation (TRUE/FALSE issue)
-rw-r--r-- | package/matchbox/matchbox.mk | 1 | ||||
-rw-r--r-- | package/matchbox/mb-applet-startup-monitor-true-false.patch | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/package/matchbox/matchbox.mk b/package/matchbox/matchbox.mk index fc71d51bf..31deef8c4 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 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 |