mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] pipewire: version bump 0.3.76 -> 0.3.77
@ 2023-08-08 12:37 Michael Tretter
  2023-08-09 16:45 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tretter @ 2023-08-08 12:37 UTC (permalink / raw)
  To: ptxdist; +Cc: mtr

https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.77

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 ...referencing-pointer-to-incomplete-ty.patch | 56 -------------------
 patches/pipewire-0.3.76/series                |  4 --
 rules/pipewire.make                           |  4 +-
 3 files changed, 2 insertions(+), 62 deletions(-)
 delete mode 100644 patches/pipewire-0.3.76/0001-spa-fixes-for-dereferencing-pointer-to-incomplete-ty.patch
 delete mode 100644 patches/pipewire-0.3.76/series

diff --git a/patches/pipewire-0.3.76/0001-spa-fixes-for-dereferencing-pointer-to-incomplete-ty.patch b/patches/pipewire-0.3.76/0001-spa-fixes-for-dereferencing-pointer-to-incomplete-ty.patch
deleted file mode 100644
index 9ce3c90b29e9..000000000000
--- a/patches/pipewire-0.3.76/0001-spa-fixes-for-dereferencing-pointer-to-incomplete-ty.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From: Sourav Das <souravdas142@gmail.com>
-Date: Sun, 30 Jul 2023 10:23:25 +0530
-Subject: [PATCH] spa: fixes for dereferencing pointer to incomplete type in
- __typeof__
-
-    before gcc 10 its not supporting pointer dereferencing in __typeof__.
-    so made changes according to that. Fixes #3375
-
-    clang also defines __GNUC__ and resolves '4' along with __clang__ which
-    resolves '1'. On any version of clang, __GNUC__ and resolves '4'.
-    anyway clang has this feature since version 3.
----
- spa/include/spa/utils/cleanup.h | 16 ++++++++++++++++
- 1 file changed, 16 insertions(+)
-
-diff --git a/spa/include/spa/utils/cleanup.h b/spa/include/spa/utils/cleanup.h
-index 04e2bd193f6e..aa3eb2eea71b 100644
---- a/spa/include/spa/utils/cleanup.h
-+++ b/spa/include/spa/utils/cleanup.h
-@@ -40,13 +40,20 @@ __extension__ ({ \
- 	_old_value; \
- })
- 
-+#if __GNUC__ > 10 || defined(__clang__)
- #define spa_steal_ptr(ptr) ((__typeof__(*(ptr)) *) spa_exchange((ptr), NULL))
-+#else
-+#define spa_steal_ptr(ptr) ((__typeof__(ptr)) spa_exchange((ptr), NULL))
-+#endif
-+
- #define spa_steal_fd(fd) spa_exchange((fd), -1)
- 
- /* ========================================================================== */
- 
- #include <stdlib.h>
- 
-+
-+#if __GNUC__ > 10 || defined(__clang__)
- #define spa_clear_ptr(ptr, destructor) \
- __extension__ ({ \
- 	__typeof__(*(ptr)) *_old_value = spa_steal_ptr(ptr); \
-@@ -54,6 +61,15 @@ __extension__ ({ \
- 		destructor(_old_value); \
- 	(void) 0; \
- })
-+#else
-+#define spa_clear_ptr(ptr, destructor) \
-+__extension__ ({ \
-+	__typeof__(ptr) _old_value = spa_steal_ptr(ptr); \
-+	if (_old_value) \
-+		destructor(_old_value); \
-+	(void) 0; \
-+})
-+#endif
- 
- static inline void _spa_autofree_cleanup_func(void *p)
- {
diff --git a/patches/pipewire-0.3.76/series b/patches/pipewire-0.3.76/series
deleted file mode 100644
index 0969cdc945f1..000000000000
--- a/patches/pipewire-0.3.76/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-spa-fixes-for-dereferencing-pointer-to-incomplete-ty.patch
-# f664d909a9bfc1aca629f79fc2991ed1  - git-ptx-patches magic
diff --git a/rules/pipewire.make b/rules/pipewire.make
index fa8e88ed228a..f4f1ba276ce6 100644
--- a/rules/pipewire.make
+++ b/rules/pipewire.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PIPEWIRE) += pipewire
 #
 # Paths and names
 #
-PIPEWIRE_VERSION	:= 0.3.76
-PIPEWIRE_MD5		:= 10bf151d8a790f8684c9c85eb18507f9
+PIPEWIRE_VERSION	:= 0.3.77
+PIPEWIRE_MD5		:= 70eeb9be6411b33a2adf8834ca4163b7
 PIPEWIRE		:= pipewire-$(PIPEWIRE_VERSION)
 PIPEWIRE_SUFFIX		:= tar.bz2
 PIPEWIRE_URL		:= https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION)/$(PIPEWIRE).$(PIPEWIRE_SUFFIX)
-- 
2.39.2




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

* Re: [ptxdist] [APPLIED] pipewire: version bump 0.3.76 -> 0.3.77
  2023-08-08 12:37 [ptxdist] [PATCH] pipewire: version bump 0.3.76 -> 0.3.77 Michael Tretter
@ 2023-08-09 16:45 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2023-08-09 16:45 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Tretter

Thanks, applied as 132a78055105508428927ed1af29c72b470561e3.

Michael

[sent from post-receive hook]

On Wed, 09 Aug 2023 18:45:54 +0200, Michael Tretter <m.tretter@pengutronix.de> wrote:
> https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.77
> 
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> Message-Id: <20230808123749.248539-1-m.tretter@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/pipewire-0.3.76/0001-spa-fixes-for-dereferencing-pointer-to-incomplete-ty.patch b/patches/pipewire-0.3.76/0001-spa-fixes-for-dereferencing-pointer-to-incomplete-ty.patch
> deleted file mode 100644
> index 9ce3c90b29e9..000000000000
> --- a/patches/pipewire-0.3.76/0001-spa-fixes-for-dereferencing-pointer-to-incomplete-ty.patch
> +++ /dev/null
> @@ -1,56 +0,0 @@
> -From: Sourav Das <souravdas142@gmail.com>
> -Date: Sun, 30 Jul 2023 10:23:25 +0530
> -Subject: [PATCH] spa: fixes for dereferencing pointer to incomplete type in
> - __typeof__
> -
> -    before gcc 10 its not supporting pointer dereferencing in __typeof__.
> -    so made changes according to that. Fixes #3375
> -
> -    clang also defines __GNUC__ and resolves '4' along with __clang__ which
> -    resolves '1'. On any version of clang, __GNUC__ and resolves '4'.
> -    anyway clang has this feature since version 3.
> ----
> - spa/include/spa/utils/cleanup.h | 16 ++++++++++++++++
> - 1 file changed, 16 insertions(+)
> -
> -diff --git a/spa/include/spa/utils/cleanup.h b/spa/include/spa/utils/cleanup.h
> -index 04e2bd193f6e..aa3eb2eea71b 100644
> ---- a/spa/include/spa/utils/cleanup.h
> -+++ b/spa/include/spa/utils/cleanup.h
> -@@ -40,13 +40,20 @@ __extension__ ({ \
> - 	_old_value; \
> - })
> - 
> -+#if __GNUC__ > 10 || defined(__clang__)
> - #define spa_steal_ptr(ptr) ((__typeof__(*(ptr)) *) spa_exchange((ptr), NULL))
> -+#else
> -+#define spa_steal_ptr(ptr) ((__typeof__(ptr)) spa_exchange((ptr), NULL))
> -+#endif
> -+
> - #define spa_steal_fd(fd) spa_exchange((fd), -1)
> - 
> - /* ========================================================================== */
> - 
> - #include <stdlib.h>
> - 
> -+
> -+#if __GNUC__ > 10 || defined(__clang__)
> - #define spa_clear_ptr(ptr, destructor) \
> - __extension__ ({ \
> - 	__typeof__(*(ptr)) *_old_value = spa_steal_ptr(ptr); \
> -@@ -54,6 +61,15 @@ __extension__ ({ \
> - 		destructor(_old_value); \
> - 	(void) 0; \
> - })
> -+#else
> -+#define spa_clear_ptr(ptr, destructor) \
> -+__extension__ ({ \
> -+	__typeof__(ptr) _old_value = spa_steal_ptr(ptr); \
> -+	if (_old_value) \
> -+		destructor(_old_value); \
> -+	(void) 0; \
> -+})
> -+#endif
> - 
> - static inline void _spa_autofree_cleanup_func(void *p)
> - {
> diff --git a/patches/pipewire-0.3.76/series b/patches/pipewire-0.3.76/series
> deleted file mode 100644
> index 0969cdc945f1..000000000000
> --- a/patches/pipewire-0.3.76/series
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -# generated by git-ptx-patches
> -#tag:base --start-number 1
> -0001-spa-fixes-for-dereferencing-pointer-to-incomplete-ty.patch
> -# f664d909a9bfc1aca629f79fc2991ed1  - git-ptx-patches magic
> diff --git a/rules/pipewire.make b/rules/pipewire.make
> index fa8e88ed228a..f4f1ba276ce6 100644
> --- a/rules/pipewire.make
> +++ b/rules/pipewire.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PIPEWIRE) += pipewire
>  #
>  # Paths and names
>  #
> -PIPEWIRE_VERSION	:= 0.3.76
> -PIPEWIRE_MD5		:= 10bf151d8a790f8684c9c85eb18507f9
> +PIPEWIRE_VERSION	:= 0.3.77
> +PIPEWIRE_MD5		:= 70eeb9be6411b33a2adf8834ca4163b7
>  PIPEWIRE		:= pipewire-$(PIPEWIRE_VERSION)
>  PIPEWIRE_SUFFIX		:= tar.bz2
>  PIPEWIRE_URL		:= https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION)/$(PIPEWIRE).$(PIPEWIRE_SUFFIX)



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

end of thread, other threads:[~2023-08-09 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-08 12:37 [ptxdist] [PATCH] pipewire: version bump 0.3.76 -> 0.3.77 Michael Tretter
2023-08-09 16:45 ` [ptxdist] [APPLIED] " Michael Olbrich

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