mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
dbus/dbus-test: upgrade to 1.10.8
0001-configure.ac-support-large-file-for-stat64.patch is removed as it's a backported patch and is already in the latest codes. (From OE-Core rev: ba0493391207c5e170548a58c49ca593b4d61e08) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -17,8 +17,8 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
|
||||
file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "26d0cf3a1c9782cb0e342101f0450440"
|
||||
SRC_URI[sha256sum] = "b5fefa08a77edd76cd64d872db949eebc02cf6f3f8be82e4bbc641742af5d35f"
|
||||
SRC_URI[md5sum] = "e912e930f249454752512aa7ac864d43"
|
||||
SRC_URI[sha256sum] = "baf3d22baa26d3bdd9edc587736cd5562196ce67996d65b82103bedbe1f0c014"
|
||||
|
||||
S="${WORKDIR}/dbus-${PV}"
|
||||
FILESEXTRAPATHS =. "${FILE_DIRNAME}/dbus:"
|
||||
@@ -1,53 +0,0 @@
|
||||
From e18bd3a571be716d90bedc835a014472470ae7bd Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Wed, 30 Dec 2015 10:58:39 +0800
|
||||
Subject: [PATCH] configure.ac: support large-file for stat64
|
||||
|
||||
While starting dbus-daemon on a 32-bit linux host and it invokes
|
||||
fstat to load /etc/dbus-1/system.conf through NFS. If system.conf
|
||||
was created with a large indoe number on 64-bit host. The above
|
||||
fstat invoking failed. Here is the log of strace:
|
||||
............
|
||||
$ ls -i /etc/dbus-1/system.conf
|
||||
53778558109 /etc/dbus-1/system.conf
|
||||
|
||||
$ strace /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
|
||||
|open("/etc/dbus-1/system.conf", O_RDONLY) = 4
|
||||
|fstat64(4, {st_mode=S_IFREG|0644, st_size=3340, ...}) = 0
|
||||
|close(4) = 0
|
||||
|close(3) = 0
|
||||
|write(2, "Failed to start message bus: Fai"..., 109Failed to start message bus:
|
||||
Failed to stat "/etc/dbus-1/system.conf": Value too large for defined data type
|
||||
|) = 109
|
||||
|exit_group(1) = ?
|
||||
|+++ exited with 1 +++
|
||||
............
|
||||
|
||||
In this situation, we should support large-file for stat64. Add marco
|
||||
AC_SYS_LARGEFILE to do the detection at configure time. It can be disabled
|
||||
by configuring with the `--disable-largefile' option.
|
||||
|
||||
Upstream-Status: Backport
|
||||
|
||||
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93545
|
||||
https://bugs.freedesktop.org/attachment.cgi?id=120747
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
configure.ac | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 82806ba..cb5a60b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -64,6 +64,7 @@ AC_SUBST(DBUS_VERSION)
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
AC_PROG_CXX
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
+AC_SYS_LARGEFILE
|
||||
AC_ISC_POSIX
|
||||
AC_HEADER_STDC
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -17,11 +17,10 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
|
||||
file://dbus-1.init \
|
||||
file://os-test.patch \
|
||||
file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
|
||||
file://0001-configure.ac-support-large-file-for-stat64.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "26d0cf3a1c9782cb0e342101f0450440"
|
||||
SRC_URI[sha256sum] = "b5fefa08a77edd76cd64d872db949eebc02cf6f3f8be82e4bbc641742af5d35f"
|
||||
SRC_URI[md5sum] = "e912e930f249454752512aa7ac864d43"
|
||||
SRC_URI[sha256sum] = "baf3d22baa26d3bdd9edc587736cd5562196ce67996d65b82103bedbe1f0c014"
|
||||
|
||||
inherit useradd autotools pkgconfig gettext update-rc.d upstream-version-is-even
|
||||
|
||||
Reference in New Issue
Block a user