ofono: update to 1.26.

closes #5419

Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
Daniel Santana 2018-12-04 23:16:50 -02:00 committed by maxice8
parent f40e668448
commit 94882c02ea
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 29 additions and 4 deletions

View file

@ -0,0 +1,21 @@
diff --git a/drivers/mbimmodem/mbim.c b/drivers/mbimmodem/mbim.c
index 54b18ac..5f924ca 100644
--- drivers/mbimmodem/mbim.c
+++ drivers/mbimmodem/mbim.c
@@ -41,6 +41,15 @@
#define HEADER_SIZE (sizeof(struct mbim_message_header) + \
sizeof(struct mbim_fragment_header))
+#ifndef TEMP_FAILURE_RETRY
+#define TEMP_FAILURE_RETRY(expression) \
+ (__extension__ \
+ ({ long int __result; \
+ do __result = (long int) (expression); \
+ while (__result == -1L && errno == EINTR); \
+ __result; }))
+#endif
+
const uint8_t mbim_uuid_basic_connect[] = {
0xa2, 0x89, 0xcc, 0x33, 0xbc, 0xbb, 0x8b, 0x4f, 0xb6, 0xb0,
0x13, 0x3e, 0xc2, 0xaa, 0xe6, 0xdf

View file

@ -1,18 +1,22 @@
# Template file for 'ofono'
pkgname=ofono
version=1.25
version=1.26
revision=1
build_style=gnu-configure
configure_args="--disable-bluez4"
configure_args="--disable-bluez4 --enable-external-ell"
conf_files="/etc/ofono/phonesim.conf /etc/dbus-1/system.d/ofono.conf"
hostmakedepends="pkg-config"
makedepends="libglib-devel eudev-libudev-devel mobile-broadband-provider-info"
makedepends="libglib-devel eudev-libudev-devel mobile-broadband-provider-info ell-devel"
short_desc="Infrastructure for building mobile telephony (GMS/UTMS) applications"
maintainer="Daniel Santana <daniel@santana.tech>"
license="GPL-2.0-or-later"
homepage="https://01.org/ofono"
distfiles="${KERNEL_SITE}/network/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=eb011fcd3080e93f3a56f96be60350b6595a8b5f36b61646312ba41b0bcb0d75
checksum=92e18c20c889addda648aefbb5e3ab1238007d88b18449f407a96533afe18026
pre_configure() {
rm -rf ell
}
post_install() {
vsv ofonod