mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
community/vorbis-tools: fix build with gcc 14
This commit is contained in:
parent
f74d797e78
commit
0988827d69
@ -2,7 +2,7 @@
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=vorbis-tools
|
||||
pkgver=1.4.2
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Extra tools for Ogg-Vorbis"
|
||||
url="https://www.xiph.org/vorbis/"
|
||||
arch="all"
|
||||
@ -10,7 +10,8 @@ license="GPL-2.0-only"
|
||||
makedepends="curl-dev flac-dev libvorbis-dev libao-dev speex-dev"
|
||||
subpackages="$pkgname-doc $pkgname-lang"
|
||||
source="https://downloads.xiph.org/releases/vorbis/vorbis-tools-$pkgver.tar.gz
|
||||
CVE-2023-43361.patch"
|
||||
CVE-2023-43361.patch
|
||||
gcc14.patch"
|
||||
|
||||
# secfixes:
|
||||
# 9.54-r1:
|
||||
@ -47,4 +48,5 @@ package() {
|
||||
sha512sums="
|
||||
31681560434054706981aef64406975295eb405a9d2d7c0468af789d6c23edb7cfc1c19d26a28fa7061835524289cdc6d217a4669c43a2eb828189370cc6fcaf vorbis-tools-1.4.2.tar.gz
|
||||
e5e5537991d9e3a294dc2f18ae2d01f0fb99b251c05de096675a290ec6c4e83d26c28b35ea79b3e8b128e3848ae1a438b40d2d4af6c22fa6801c2993d05497af CVE-2023-43361.patch
|
||||
21ea0e4d9262595596a1a60344b0e2195ab5e882105bad32ae65b6089c7d66465a3917d1789ef3b604d8baf27fab2b6b84210c7541310bd062debef4f1dbe344 gcc14.patch
|
||||
"
|
||||
|
29
community/vorbis-tools/gcc14.patch
Normal file
29
community/vorbis-tools/gcc14.patch
Normal file
@ -0,0 +1,29 @@
|
||||
Source: 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
|
||||
|
Loading…
Reference in New Issue
Block a user