1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-16 15:57:04 +00:00
Files
poky/meta/packages/dbus/dbus-native_1.0.3.bb
Marcin Juszkiewicz 4d4c63f2db dbus-native: fix build on few systems (error: storage size of 'cr' isn't known)
Bug was reported in OE bugtracker: http://bugs.openembedded.net/show_bug.cgi?id=4334

| dbus-sysdeps-unix.c: In function '_dbus_read_credentials_unix_socket':
| dbus-sysdeps-unix.c:1002: error: storage size of 'cr' isn't known
| dbus-sysdeps-unix.c:1005: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
| dbus-sysdeps-unix.c:1002: warning: unused variable 'cr'
2009-02-20 17:27:40 +01:00

33 lines
911 B
BlitzBasic

DESCRIPTION = "message bus system for applications to talk to one another"
HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
LICENSE = "GPL"
SECTION = "base"
PR = "r1"
DEPENDS = "glib-2.0-native libxml2-native expat-native"
DEFAULT_PREFERENCE = "-1"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-${PV}"
SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
file://cross.patch;patch=1 \
file://fix-cr-size.patch;patch=1 \
"
inherit autotools pkgconfig gettext native
S = "${WORKDIR}/dbus-${PV}"
EXTRA_OECONF = " --disable-tests --disable-checks --disable-xml-docs \
--disable-doxygen-docs --with-xml=expat --without-x"
do_stage () {
oe_runmake install
autotools_stage_all
# for dbus-glib-native introspection generation
install -d ${STAGING_DATADIR}/dbus
install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf
}