mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 08:13:34 +08:00
matchbox: fix mb-applet-startup-monitor compilation (TRUE/FALSE issue)
This commit is contained in:
parent
ab1c8b3943
commit
2cb9654f05
@ -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)
|
||||
|
21
package/matchbox/mb-applet-startup-monitor-true-false.patch
Normal file
21
package/matchbox/mb-applet-startup-monitor-true-false.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user