Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/ofono: bump version to 2.1
@ 2023-04-24  6:59 Nicolas Serafini via buildroot
  2023-05-13 19:28 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Serafini via buildroot @ 2023-04-24  6:59 UTC (permalink / raw)
  To: buildroot

Drop local patch 0002 as the TEMP_FAILURE_RETRY macro was replaced by
L_TFR from ell library.
https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=765c6655f26304c45adfdb92081448d797ce3092

Release notes:
https://git.kernel.org/pub/scm/network/ofono/ofono.git/tree/ChangeLog?h=2.1

Signed-off-by: Nicolas Serafini <nicolas.serafini@ik.me>
---
 package/ofono/0002-fix-musl-compile.patch | 37 -----------------------
 package/ofono/ofono.hash                  |  2 +-
 package/ofono/ofono.mk                    |  2 +-
 3 files changed, 2 insertions(+), 39 deletions(-)
 delete mode 100644 package/ofono/0002-fix-musl-compile.patch

diff --git a/package/ofono/0002-fix-musl-compile.patch b/package/ofono/0002-fix-musl-compile.patch
deleted file mode 100644
index 369fb71791..0000000000
--- a/package/ofono/0002-fix-musl-compile.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 4a1d114fa3a5d6bef1f71222787c1f6c3a952284 Mon Sep 17 00:00:00 2001
-From: Nicolas Serafini <nicolas.serafini@sensefly.com>
-Date: Thu, 24 Jan 2019 10:11:42 +0100
-Subject: [PATCH] mbim: add optional copy of TEMP_FAILURE_RETRY macro (fix musl
- compile)
-
-TEMP_FAILURE_RETRY is not available on musl.
-
-Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
----
- drivers/mbimmodem/mbim.c | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/drivers/mbimmodem/mbim.c b/drivers/mbimmodem/mbim.c
-index 54b18acf..4b040528 100644
---- a/drivers/mbimmodem/mbim.c
-+++ b/drivers/mbimmodem/mbim.c
-@@ -37,6 +37,16 @@
- #include "mbim-message.h"
- #include "mbim-private.h"
- 
-+/* taken from glibc unistd.h for musl support */
-+#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
-+
- #define MAX_CONTROL_TRANSFER 4096
- #define HEADER_SIZE (sizeof(struct mbim_message_header) + \
- 					sizeof(struct mbim_fragment_header))
--- 
-2.20.1
-
diff --git a/package/ofono/ofono.hash b/package/ofono/ofono.hash
index 7edef0eb80..f1760d6f13 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  c0b96d3013447ec2bcb74579bef90e4e59c68dbfa4b9c6fbce5d12401a43aac7  ofono-1.34.tar.xz
+sha256  92913dcce9a15cac2174daca249457716a0ec036878d22035e83af0e19e79c52  ofono-2.1.tar.xz
 # Locally computed
 sha256  e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4  COPYING
diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
index b7a2a923f9..5f91e4985d 100644
--- a/package/ofono/ofono.mk
+++ b/package/ofono/ofono.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-OFONO_VERSION = 1.34
+OFONO_VERSION = 2.1
 OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz
 OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
 OFONO_LICENSE = GPL-2.0
-- 
2.40.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/ofono: bump version to 2.1
  2023-04-24  6:59 [Buildroot] [PATCH] package/ofono: bump version to 2.1 Nicolas Serafini via buildroot
@ 2023-05-13 19:28 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2023-05-13 19:28 UTC (permalink / raw)
  To: Nicolas Serafini; +Cc: buildroot

Nicolas, All,

On 2023-04-24 08:59 +0200, Nicolas Serafini via buildroot spake thusly:
> Drop local patch 0002 as the TEMP_FAILURE_RETRY macro was replaced by
> L_TFR from ell library.
> https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=765c6655f26304c45adfdb92081448d797ce3092
> 
> Release notes:
> https://git.kernel.org/pub/scm/network/ofono/ofono.git/tree/ChangeLog?h=2.1
> 
> Signed-off-by: Nicolas Serafini <nicolas.serafini@ik.me>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/ofono/0002-fix-musl-compile.patch | 37 -----------------------
>  package/ofono/ofono.hash                  |  2 +-
>  package/ofono/ofono.mk                    |  2 +-
>  3 files changed, 2 insertions(+), 39 deletions(-)
>  delete mode 100644 package/ofono/0002-fix-musl-compile.patch
> 
> diff --git a/package/ofono/0002-fix-musl-compile.patch b/package/ofono/0002-fix-musl-compile.patch
> deleted file mode 100644
> index 369fb71791..0000000000
> --- a/package/ofono/0002-fix-musl-compile.patch
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -From 4a1d114fa3a5d6bef1f71222787c1f6c3a952284 Mon Sep 17 00:00:00 2001
> -From: Nicolas Serafini <nicolas.serafini@sensefly.com>
> -Date: Thu, 24 Jan 2019 10:11:42 +0100
> -Subject: [PATCH] mbim: add optional copy of TEMP_FAILURE_RETRY macro (fix musl
> - compile)
> -
> -TEMP_FAILURE_RETRY is not available on musl.
> -
> -Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
> ----
> - drivers/mbimmodem/mbim.c | 10 ++++++++++
> - 1 file changed, 10 insertions(+)
> -
> -diff --git a/drivers/mbimmodem/mbim.c b/drivers/mbimmodem/mbim.c
> -index 54b18acf..4b040528 100644
> ---- a/drivers/mbimmodem/mbim.c
> -+++ b/drivers/mbimmodem/mbim.c
> -@@ -37,6 +37,16 @@
> - #include "mbim-message.h"
> - #include "mbim-private.h"
> - 
> -+/* taken from glibc unistd.h for musl support */
> -+#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
> -+
> - #define MAX_CONTROL_TRANSFER 4096
> - #define HEADER_SIZE (sizeof(struct mbim_message_header) + \
> - 					sizeof(struct mbim_fragment_header))
> --- 
> -2.20.1
> -
> diff --git a/package/ofono/ofono.hash b/package/ofono/ofono.hash
> index 7edef0eb80..f1760d6f13 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  c0b96d3013447ec2bcb74579bef90e4e59c68dbfa4b9c6fbce5d12401a43aac7  ofono-1.34.tar.xz
> +sha256  92913dcce9a15cac2174daca249457716a0ec036878d22035e83af0e19e79c52  ofono-2.1.tar.xz
>  # Locally computed
>  sha256  e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4  COPYING
> diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
> index b7a2a923f9..5f91e4985d 100644
> --- a/package/ofono/ofono.mk
> +++ b/package/ofono/ofono.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -OFONO_VERSION = 1.34
> +OFONO_VERSION = 2.1
>  OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz
>  OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
>  OFONO_LICENSE = GPL-2.0
> -- 
> 2.40.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-13 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24  6:59 [Buildroot] [PATCH] package/ofono: bump version to 2.1 Nicolas Serafini via buildroot
2023-05-13 19:28 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox