diff options
author | Yuri Vasilevski <yvasilev@gentoo.org> | 2006-06-23 17:08:56 +0000 |
---|---|---|
committer | Yuri Vasilevski <yvasilev@gentoo.org> | 2006-06-23 17:08:56 +0000 |
commit | 0ed06e50439f5ea79eac93209d292e493389c968 (patch) | |
tree | 8ebc4924e11a510c9eab266081e19d1df9c909ea /x11-plugins/matchbox-applet-startup-monitor/files | |
parent | ~amd64 (diff) | |
download | gentoo-2-0ed06e50439f5ea79eac93209d292e493389c968.tar.gz gentoo-2-0ed06e50439f5ea79eac93209d292e493389c968.tar.bz2 gentoo-2-0ed06e50439f5ea79eac93209d292e493389c968.zip |
Now build if x11-libs/libmatchbox was compiled w/o jpeg support, and then, does not provide FALSE/TRUE definitions.
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'x11-plugins/matchbox-applet-startup-monitor/files')
-rw-r--r-- | x11-plugins/matchbox-applet-startup-monitor/files/matchbox-applet-startup-monitor-0.1-false-true-fix.patch | 18 |
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 |