All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libcuefile: fix build failure due to implicit declaration
@ 2024-08-23  7:04 Dario Binacchi
  2024-08-23  7:53 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Dario Binacchi @ 2024-08-23  7:04 UTC (permalink / raw)
  To: buildroot; +Cc: Dario Binacchi

Fixes:
- http://autobuild.buildroot.org/results/28f1e34166e836bf3b984f228bb09842840de82a

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
 .../0002-libcuefile-fedora-c99.patch          | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 package/libcuefile/0002-libcuefile-fedora-c99.patch

diff --git a/package/libcuefile/0002-libcuefile-fedora-c99.patch b/package/libcuefile/0002-libcuefile-fedora-c99.patch
new file mode 100644
index 000000000000..fdd2c38d5939
--- /dev/null
+++ b/package/libcuefile/0002-libcuefile-fedora-c99.patch
@@ -0,0 +1,26 @@
+From 7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19 Mon Sep 17 00:00:00 2001
+From: DJ Delorie <dj@redhat.com>
+Date: Thu, 27 Apr 2023 17:24:58 -0400
+Subject: [PATCH] Fix C99 compatibility issue
+
+Related to:
+
+  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
+  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
+
+See Also https://bugzilla.redhat.com/show_bug.cgi?id=2190307
+Signed-off-by: DJ Delorie <dj@redhat.com>
+Upstream: https://src.fedoraproject.org/rpms/libcuefile/blob/7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19/f/libcuefile-fedora-c99.patch
+---
+diff -rup a/src/cue_parse.c b/src/cue_parse.c
+--- a/src/cue_parse.c	2011-06-18 07:28:43.000000000 -0400
++++ b/src/cue_parse.c	2023-04-27 16:10:13.314263314 -0400
+@@ -1513,6 +1513,8 @@ void yyerror (char *s)
+ 	fprintf(stderr, "%d: %s\n", cue_lineno, s);
+ }
+ 
++void cue_delete_buffer(void);
++
+ Cd *cue_parse (FILE *fp)
+ {
+ 	cue_yyin = fp;
-- 
2.43.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 1/1] package/libcuefile: fix build failure due to implicit declaration
  2024-08-23  7:04 [Buildroot] [PATCH 1/1] package/libcuefile: fix build failure due to implicit declaration Dario Binacchi
@ 2024-08-23  7:53 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-23  7:53 UTC (permalink / raw)
  To: Dario Binacchi; +Cc: buildroot

Hello Dario,

On Fri, 23 Aug 2024 09:04:14 +0200
Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote:

> Fixes:
> - http://autobuild.buildroot.org/results/28f1e34166e836bf3b984f228bb09842840de82a
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>  .../0002-libcuefile-fedora-c99.patch          | 26 +++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 package/libcuefile/0002-libcuefile-fedora-c99.patch
> 
> diff --git a/package/libcuefile/0002-libcuefile-fedora-c99.patch b/package/libcuefile/0002-libcuefile-fedora-c99.patch
> new file mode 100644
> index 000000000000..fdd2c38d5939
> --- /dev/null
> +++ b/package/libcuefile/0002-libcuefile-fedora-c99.patch
> @@ -0,0 +1,26 @@
> +From 7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19 Mon Sep 17 00:00:00 2001
> +From: DJ Delorie <dj@redhat.com>
> +Date: Thu, 27 Apr 2023 17:24:58 -0400
> +Subject: [PATCH] Fix C99 compatibility issue
> +
> +Related to:
> +
> +  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
> +  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
> +
> +See Also https://bugzilla.redhat.com/show_bug.cgi?id=2190307
> +Signed-off-by: DJ Delorie <dj@redhat.com>
> +Upstream: https://src.fedoraproject.org/rpms/libcuefile/blob/7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19/f/libcuefile-fedora-c99.patch

Thanks for the fix, but we need you to add your Signed-off-by here.

Thanks!

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:[~2024-08-23  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23  7:04 [Buildroot] [PATCH 1/1] package/libcuefile: fix build failure due to implicit declaration Dario Binacchi
2024-08-23  7:53 ` 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.