mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
ofono: update to 1.26.
closes #5419 Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
parent
f40e668448
commit
94882c02ea
2 changed files with 29 additions and 4 deletions
21
srcpkgs/ofono/patches/fix-TEMP_FAILURE_RETRY.patch
Normal file
21
srcpkgs/ofono/patches/fix-TEMP_FAILURE_RETRY.patch
Normal 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
|
||||||
|
|
|
@ -1,18 +1,22 @@
|
||||||
# Template file for 'ofono'
|
# Template file for 'ofono'
|
||||||
pkgname=ofono
|
pkgname=ofono
|
||||||
version=1.25
|
version=1.26
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
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"
|
conf_files="/etc/ofono/phonesim.conf /etc/dbus-1/system.d/ofono.conf"
|
||||||
hostmakedepends="pkg-config"
|
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"
|
short_desc="Infrastructure for building mobile telephony (GMS/UTMS) applications"
|
||||||
maintainer="Daniel Santana <daniel@santana.tech>"
|
maintainer="Daniel Santana <daniel@santana.tech>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://01.org/ofono"
|
homepage="https://01.org/ofono"
|
||||||
distfiles="${KERNEL_SITE}/network/${pkgname}/${pkgname}-${version}.tar.xz"
|
distfiles="${KERNEL_SITE}/network/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=eb011fcd3080e93f3a56f96be60350b6595a8b5f36b61646312ba41b0bcb0d75
|
checksum=92e18c20c889addda648aefbb5e3ab1238007d88b18449f407a96533afe18026
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
rm -rf ell
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv ofonod
|
vsv ofonod
|
||||||
|
|
Loading…
Add table
Reference in a new issue