diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-01-04 11:25:24 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-01-04 11:25:34 +0100 |
commit | 05aa17f5639172598cd0ab639cf51afe789a755d (patch) | |
tree | ec1e1b1ff607c9d5e8ec8322b6dd6397af2cc010 /media-sound/vorbis-tools/vorbis-tools-1.4.2-r4.ebuild | |
parent | net-im/signal-desktop-bin: remove old version (diff) | |
download | gentoo-05aa17f5639172598cd0ab639cf51afe789a755d.tar.gz gentoo-05aa17f5639172598cd0ab639cf51afe789a755d.tar.bz2 gentoo-05aa17f5639172598cd0ab639cf51afe789a755d.zip |
media-sound/vorbis-tools: applied buffer overflow fix
Bug: https://bugs.gentoo.org/918549
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/vorbis-tools/vorbis-tools-1.4.2-r4.ebuild')
-rw-r--r-- | media-sound/vorbis-tools/vorbis-tools-1.4.2-r4.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/media-sound/vorbis-tools/vorbis-tools-1.4.2-r4.ebuild b/media-sound/vorbis-tools/vorbis-tools-1.4.2-r4.ebuild new file mode 100644 index 000000000000..05d291d1539e --- /dev/null +++ b/media-sound/vorbis-tools/vorbis-tools-1.4.2-r4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Tools for using the Ogg Vorbis sound file format" +HOMEPAGE="https://xiph.org/vorbis/" +SRC_URI="https://ftp.osuosl.org/pub/xiph/releases/vorbis/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="flac kate nls +ogg123 speex" + +RDEPEND=" + media-libs/libvorbis + media-libs/opusfile + flac? ( media-libs/flac:= ) + kate? ( media-libs/libkate ) + ogg123? ( + media-libs/libao + net-misc/curl + ) + speex? ( media-libs/speex ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.2-r3-docdir.patch + "${FILESDIR}"/${P}-clang16.patch + "${FILESDIR}"/${P}-fix-buffer-overflow.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with flac) + $(use_with kate) + $(use_enable nls) + $(use_enable ogg123) + $(use_with speex) + ) + econf "${myeconfargs[@]}" +} |