All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/mpg123: fix linking error
@ 2023-08-07 14:19 Waldemar Brodkorb
  2023-08-07 20:09 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2023-08-07 14:19 UTC (permalink / raw)
  To: buildroot

Fixes following build errors:
http://autobuild.buildroot.net/?reason=mpg123-1.31.3

Patch was provided by upstream:
https://sourceforge.net/p/mpg123/bugs/353/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 package/mpg123/0001-mpg123-buildfix.patch | 24 +++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 package/mpg123/0001-mpg123-buildfix.patch

diff --git a/package/mpg123/0001-mpg123-buildfix.patch b/package/mpg123/0001-mpg123-buildfix.patch
new file mode 100644
index 0000000000..cc731ea967
--- /dev/null
+++ b/package/mpg123/0001-mpg123-buildfix.patch
@@ -0,0 +1,24 @@
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+Upstream: https://sourceforge.net/p/mpg123/bugs/353/
+
+diff -Nur mpg123-1.31.3.orig/src/libmpg123/getcpuflags.h mpg123-1.31.3/src/libmpg123/getcpuflags.h
+--- mpg123-1.31.3.orig/src/libmpg123/getcpuflags.h	2023-03-15 09:02:58.000000000 +0100
++++ mpg123-1.31.3/src/libmpg123/getcpuflags.h	2023-08-07 15:57:19.444106173 +0200
+@@ -44,6 +44,8 @@
+ 
+ unsigned int getcpuflags(struct cpuflags* cf);
+ 
++#if ((defined OPT_X86) || (defined OPT_X86_64) || (defined OPT_NEON) || (defined OPT_NEON64)) && (defined OPT_MULTI)
++
+ #ifdef WANT_GETCPUFLAGS
+ #include <string.h>
+ // Wrapper needed for ignorant clang memory sanitizer that chokes
+@@ -55,8 +57,6 @@
+ }
+ #endif
+ 
+-#if ((defined OPT_X86) || (defined OPT_X86_64) || (defined OPT_NEON) || (defined OPT_NEON64)) && (defined OPT_MULTI)
+-
+ // We really evaluate the CPU flags.
+ #define OPT_CPU_FLAGS
+ 
-- 
2.39.2

_______________________________________________
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/mpg123: fix linking error
  2023-08-07 14:19 [Buildroot] [PATCH] package/mpg123: fix linking error Waldemar Brodkorb
@ 2023-08-07 20:09 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-07 20:09 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

Hello Waldemar,

On Mon, 7 Aug 2023 16:19:51 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:

> Fixes following build errors:
> http://autobuild.buildroot.net/?reason=mpg123-1.31.3

Should be a pointer to a specific build issue, because
http://autobuild.buildroot.net/?reason=mpg123-1.31.3 points to several
issues, and in 5 years when we will look at this, we will no longer
know which issue it refers to.

Also, it should be just "Fixes:"

Finally, and probably even more importantly: we really, really, really
want an explanation of since when the problem has appeared, so that we
know if this commit needs to be backported to a stable branch or not.

Could you do this research and submit an updated patch?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
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-08-07 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07 14:19 [Buildroot] [PATCH] package/mpg123: fix linking error Waldemar Brodkorb
2023-08-07 20:09 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.