Skip to contentSkip to conversation

package/libcuefile: fix build failure due to implicit declaration

PATCH Applied Dario Binacchi 3 participants 3 messages Aug 24, 2024 – Sep 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/libcuefile: fix build failure due to implicit declaration

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

---

Changes v1 -> v2:
- Add Dario Binacchi's Signed-off-by tag.

 .../0002-libcuefile-fedora-c99.patch          | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 package/libcuefile/0002-libcuefile-fedora-c99.patch
package/libcuefile/0002-libcuefile-fedora-c99.patch new file +27 -0
new file mode 100644
index 000000000000..3f76dd315c7c
@@ -0,0 +1,27 @@
+From 7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19 Mon Sep 17 00:00:00 2001
+From: DJ Delorie <[email protected]>
+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 <[email protected]>
+Signed-off-by: Dario Binacchi <[email protected]>
+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;
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · On Sat, 24 Aug 2024 08:07:54 +0200 Dario Binacchi…

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

---

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Dario Binacchi
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Dario" == Dario Binacchi <[email protected]> writes:

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

---

Changes v1 -> v2:
- Add Dario Binacchi's Signed-off-by tag.

Committed to 2024.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot