mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 13:18:36 -09:00
package/vorbis-tools: Fix build with gcc 14.x
Buildroot commitce5d173571removed 0001-fix-build-with-gcc-14.patch which the version bump to 1.4.3. The patch originally not only fixed share/utf8.c but also ogginfo/codec_skeleton.c. Upstream only applied the fix for ogginfo/codec_skeleton.c:68c5a33685so the build still fails: utf8.c: In function 'convert_buffer': utf8.c:271:9: error: implicit declaration of function 'charset_convert' [-Wimplicit-function-declaration] 271 | ret = charset_convert(fromcode, tocode, from, fromlen, to, tolen); Added upstream commit to fix the problem. Fixes: https://autobuild.buildroot.net/results/135/13520e3cbf6b6d169985f4d1378c2a1baab852e0/ The build error can be reproduced by this minimal defconfig: BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PACKAGE_VORBIS_TOOLS=y Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
88882b21f2
commit
8b79a9fec5
@@ -0,0 +1,32 @@
|
||||
From 5155bf98a5b10fdf950dfa8f6edad624c0db7030 Mon Sep 17 00:00:00 2001
|
||||
From: Petter Reinholdtsen <pere@debian.org>
|
||||
Date: Sun, 22 Feb 2026 23:33:59 +0100
|
||||
Subject: [PATCH] Added include for "charset.h" to find charset_convert()
|
||||
prototype with gcc >= 14.
|
||||
|
||||
Patch from Bernd Kuhls.
|
||||
|
||||
Fixes #2334.
|
||||
|
||||
Upstream: https://github.com/xiph/vorbis-tools/commit/5155bf98a5b10fdf950dfa8f6edad624c0db7030
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
share/utf8.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/share/utf8.c b/share/utf8.c
|
||||
index e1199bc..1e6965f 100644
|
||||
--- a/share/utf8.c
|
||||
+++ b/share/utf8.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
+#include "charset.h"
|
||||
#include "utf8.h"
|
||||
|
||||
|
||||
--
|
||||
2.47.3
|
||||
|
||||
Reference in New Issue
Block a user