Magellan Linux

Contents of /trunk/hal/patches/hal-0.5.10-fix-build-errors-with-D-Bus-versions-v1.0.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 597 - (show annotations) (download)
Mon May 19 19:05:19 2008 UTC (15 years, 11 months ago) by niro
File size: 717 byte(s)
-gentoo patches

1 From f259fb506e93251c674588cb3d307e086ac1db2f Mon Sep 17 00:00:00 2001
2 From: Danny Kukawka <danny.kukawka@web.de>
3 Date: Fri, 7 Dec 2007 10:20:01 +0100
4 Subject: [PATCH] fix build errors with D-Bus versions < v1.0
5
6 Fix build errors with older D-Bus versions (< v1.0) where
7 DBUS_API_SUBJECT_TO_CHANGE need to be defined.
8 ---
9 hald/hald.h | 4 ++++
10 1 files changed, 4 insertions(+), 0 deletions(-)
11
12 diff --git a/hald/hald.h b/hald/hald.h
13 index c81bf2f..1b60e03 100644
14 --- a/hald/hald.h
15 +++ b/hald/hald.h
16 @@ -26,6 +26,10 @@
17 #ifndef HALD_H
18 #define HALD_H
19
20 +#ifndef DBUS_API_SUBJECT_TO_CHANGE
21 +#define DBUS_API_SUBJECT_TO_CHANGE
22 +#endif
23 +
24 #include <stdarg.h>
25 #include <stdint.h>
26 #include <dbus/dbus.h>
27 --
28 1.5.3.7
29