0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-22 20:27:08 +00:00
termux-packages/packages/vorbis-tools/vorbis-tools-1.4.2-clang16.patch
Tee KOBAYASHI 8e018564a9 vorbis-tools: Fix build with strict C99
%ci:no-build
2023-04-12 02:02:26 +09:00

31 lines
833 B
Diff

https://github.com/termux/termux-packages/issues/15852
https://gitlab.xiph.org/xiph/vorbis-tools/-/merge_requests/6
From ec3a1a1de87168f575b93bc9cedcfaeb82c048a4 Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer@redhat.com>
Date: Tue, 7 Feb 2023 08:48:05 +0100
Subject: [PATCH] Fix C99 compatibility glitch in ogginfo/codec_skeleton.c
Include "utf8.h" for a prototype of the utf8_decode function.
This avoids an implicit function declaration and build issues
with future compilers.
---
ogginfo/codec_skeleton.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ogginfo/codec_skeleton.c b/ogginfo/codec_skeleton.c
index a27f8da..0709860 100644
--- a/ogginfo/codec_skeleton.c
+++ b/ogginfo/codec_skeleton.c
@@ -25,6 +25,7 @@
#include <ogg/ogg.h>
#include "i18n.h"
+#include "utf8.h"
#include "private.h"
--
GitLab