diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-07-11 10:38:47 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-11 10:38:47 +0000 |
commit | ae9bcf60a9eb52f43f95f78d02125498d99a440c (patch) | |
tree | 5b04ba33848df48d4df233f81a053b307c49c44e /packages/bluez-utils/bluez-utils-dbus | |
parent | 7393effbe64edff8346c3fe76d5eea72f54c58c6 (diff) |
bluez-utils: update dbus patch courtesy Patrick Steiner
Diffstat (limited to 'packages/bluez-utils/bluez-utils-dbus')
-rw-r--r-- | packages/bluez-utils/bluez-utils-dbus/dbus.patch | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/packages/bluez-utils/bluez-utils-dbus/dbus.patch b/packages/bluez-utils/bluez-utils-dbus/dbus.patch index ecab56b7b4..f5d670c13f 100644 --- a/packages/bluez-utils/bluez-utils-dbus/dbus.patch +++ b/packages/bluez-utils/bluez-utils-dbus/dbus.patch @@ -1,6 +1,6 @@ ---- bluez-utils-2.10/acinclude.m4.old 2004-10-19 22:34:47.000000000 +0100 -+++ bluez-utils-2.10/acinclude.m4 2004-10-19 22:50:47.000000000 +0100 -@@ -124,45 +124,14 @@ +--- bluez-utils-2.18/acinclude.m4.old 2005-07-11 12:15:00.000000000 +0200 ++++ bluez-utils-2.18/acinclude.m4 2005-07-11 12:18:48.000000000 +0200 +@@ -211,48 +211,17 @@ ]) AC_DEFUN([AC_PATH_DBUS], [ @@ -23,7 +23,7 @@ - test -d "${dbus_prefix}/lib64/dbus-1.0/include" && DBUS_CFLAGS="$DBUS_CFLAGS -I${dbus_prefix}/lib64/dbus-1.0/include" - test -d "${dbus_prefix}/lib/dbus-1.0/include" && DBUS_CFLAGS="$DBUS_CFLAGS -I${dbus_prefix}/lib/dbus-1.0/include" - fi -- + + if pkg-config --exists dbus-1; then + dbus_found=yes ; DBUS_CFLAGS="`pkg-config --cflags dbus-1` -DDBUS_API_SUBJECT_TO_CHANGE" + DBUS_LIBS="`pkg-config --libs dbus-1`" @@ -37,13 +37,16 @@ - test -d "${dbus_prefix}/lib64" && DBUS_LIBS="$DBUS_LIBS -L${dbus_prefix}/lib64" - test -d "${dbus_prefix}/lib" && DBUS_LIBS="$DBUS_LIBS -L${dbus_prefix}/lib" - fi -- + LDFLAGS="$LDFLAGS $DBUS_LIBS" - AC_CHECK_LIB(dbus-1, dbus_error_init, DBUS_LIBS="$DBUS_LIBS -ldbus-1", dbus_found=no) +- AC_CHECK_LIB(dbus-1, dbus_pending_call_steal_reply, AC_DEFINE(HAVE_DBUS_PENDING_CALL_STEAL_REPLY, 1, [Define to 1 if you have the dbus_pending_call_steal_reply() function.])) +- AC_CHECK_LIB(dbus-1, dbus_message_iter_get_basic, AC_DEFINE(HAVE_DBUS_MESSAGE_ITER_GET_BASIC, 1, [Define to 1 if you have the dbus_message_iter_get_basic() function.])) +- AC_CHECK_LIB(dbus-1, dbus_message_append_args, AC_DEFINE(HAVE_DBUS_MESSAGE_APPEND_ARGS, 1, [Define to 1 if you have the dbus_message_append_args() function.])) - - CPPFLAGS=$ac_save_CPPFLAGS - LDFLAGS=$ac_save_LDFLAGS -- + AC_SUBST(DBUS_CFLAGS) AC_SUBST(DBUS_LIBS) + fi |