aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Petr Vorel <petr.vorel@gmail.com>2019-05-21 07:56:44 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-05-24 10:11:23 +0200
commit252ad90833cc379a1dc93e895e092503125c97cc (patch)
tree44fd88278e99d4610ab9c631b75de08a46aa8845
parent46ccd145f98b96cb439c8389e4bc0787b4bc2f0f (diff)
downloadbuildroot-252ad90833cc379a1dc93e895e092503125c97cc.tar.gz
buildroot-252ad90833cc379a1dc93e895e092503125c97cc.tar.bz2
package/ofono: bump to version 1.29
Backport upstream patch which adds explicit_bzero() autoconf detection, which fixes br-arm-cortex-a9-glibc and br-arm-full-static build: In file included from ell/random.c:34: ell/missing.h:59:20: error: static declaration of ‘explicit_bzero’ follows non-static declaration static inline void explicit_bzero(void *s, size_t n) ^~~~~~~~~~~~~~ In file included from ./ell/util.h:26, from ell/private.h:26, from ell/random.c:33: /home/pvorel/br-test-pkg/br-arm-cortex-a9-glibc/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:435:13: note: previous declaration of ‘explicit_bzero’ was here extern void explicit_bzero (void *__s, size_t __n) __THROW __nonnull ((1)); ^~~~~~~~~~~~~~ Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/ofono/0003-build-Add-check-for-explicit_bzero-support.patch28
-rw-r--r--package/ofono/ofono.hash2
-rw-r--r--package/ofono/ofono.mk5
3 files changed, 33 insertions, 2 deletions
diff --git a/package/ofono/0003-build-Add-check-for-explicit_bzero-support.patch b/package/ofono/0003-build-Add-check-for-explicit_bzero-support.patch
new file mode 100644
index 0000000000..b2507df3ff
--- /dev/null
+++ b/package/ofono/0003-build-Add-check-for-explicit_bzero-support.patch
@@ -0,0 +1,28 @@
+From dff595671bf5a46f7c9231966a6cd7d2a0183076 Mon Sep 17 00:00:00 2001
+From: Marcel Holtmann <marcel@holtmann.org>
+Date: Wed, 15 May 2019 09:39:44 +0200
+Subject: [PATCH] build: Add check for explicit_bzero support
+
+Upstream: dff595671bf5a46f7c9231966a6cd7d2a0183076
+
+Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
+---
+ configure.ac | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index bacb7ac5..cad35c5d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -54,6 +54,8 @@ AC_ARG_ENABLE(pie, AC_HELP_STRING([--enable-pie],
+ fi
+ ])
+
++AC_CHECK_FUNCS(explicit_bzero)
++
+ AC_CHECK_FUNC(signalfd, dummy=yes,
+ AC_MSG_ERROR(signalfd support is required))
+
+--
+2.21.0
+
diff --git a/package/ofono/ofono.hash b/package/ofono/ofono.hash
index 2dbb9986c7..5204bb4fca 100644
--- a/package/ofono/ofono.hash
+++ b/package/ofono/ofono.hash
@@ -1,4 +1,4 @@
# From https://www.kernel.org/pub/linux/network/ofono/sha256sums.asc
-sha256 93bb2cedef54f897dd5200e22b072a6e38b5d9b44be57eebbbe8d513f0beb0e4 ofono-1.28.tar.xz
+sha256 67f0f8e5740dea5b46309e40667d1e560be39c90ef08dd01ff9e9ce8e61f0679 ofono-1.29.tar.xz
# Locally computed
sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING
diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
index 0552a181fd..176d23ae05 100644
--- a/package/ofono/ofono.mk
+++ b/package/ofono/ofono.mk
@@ -4,7 +4,7 @@
#
################################################################################
-OFONO_VERSION = 1.28
+OFONO_VERSION = 1.29
OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz
OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
OFONO_LICENSE = GPL-2.0
@@ -49,4 +49,7 @@ else
OFONO_CONF_OPTS += --disable-bluetooth
endif
+# required by 0003-build-Add-check-for-explicit_bzero-support.patch
+OFONO_AUTORECONF = YES
+
$(eval $(autotools-package))