dbus-glib: make this build again (remove broken asserts); use hostmakedepends.

This commit is contained in:
Juan RP 2013-04-03 11:48:46 +02:00
parent 7c925e5654
commit 78b370415b
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- dbus/dbus-gvalue.c.orig 2013-04-03 11:46:39.075287327 +0200
+++ dbus/dbus-gvalue.c 2013-04-03 11:46:59.178392995 +0200
@@ -1932,8 +1932,6 @@ G_STATIC_ASSERT (sizeof (dbus_bool_t) ==
G_STATIC_ASSERT (sizeof (dbus_int32_t) == sizeof (gint));
G_STATIC_ASSERT (sizeof (dbus_uint32_t) == sizeof (guint));
/* These should be true regardless, but just for completeness... */
-G_STATIC_ASSERT (sizeof (dbus_int64_t) == sizeof (gint64));
-G_STATIC_ASSERT (sizeof (dbus_uint64_t) == sizeof (guint64));
G_STATIC_ASSERT (sizeof (double) == sizeof (gdouble));
static gboolean

View File

@ -4,8 +4,8 @@ version=0.100.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-bash-completion"
depends="expat"
makedepends="pkg-config glib-devel dbus-devel"
hostmakedepends="pkg-config"
makedepends="glib-devel dbus-devel"
subpackages="$pkgname-devel"
short_desc="GLib bindings for D-Bus"
maintainer="Juan RP <xtraeme@gmail.com>"