* [gentoo-commits] repo/gentoo:master commit in: app-emacs/mpg123-el/files/, app-emacs/mpg123-el/
@ 2022-10-05 7:31 Ulrich Müller
0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2022-10-05 7:31 UTC (permalink / raw
To: gentoo-commits
commit: 64c2c2eef8277357e7ccd6a1069fca8fa2580e7d
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 5 07:30:10 2022 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Oct 5 07:30:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c2c2ee
app-emacs/mpg123-el: Include stdlib.h for exit(3)
Closes: https://bugs.gentoo.org/874954
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch | 10 ++++++++++
app-emacs/mpg123-el/mpg123-el-1.61.ebuild | 3 ++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch b/app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch
new file mode 100644
index 000000000000..467cd58f564f
--- /dev/null
+++ b/app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch
@@ -0,0 +1,10 @@
+https://bugs.gentoo.org/874954
+
+--- mpg123-el-1.61/id3put.c
++++ mpg123-el-1.61/id3put.c
+@@ -1,4 +1,5 @@
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ #define INLEN 30
diff --git a/app-emacs/mpg123-el/mpg123-el-1.61.ebuild b/app-emacs/mpg123-el/mpg123-el-1.61.ebuild
index 5be713b4ad46..77c5fde54e96 100644
--- a/app-emacs/mpg123-el/mpg123-el-1.61.ebuild
+++ b/app-emacs/mpg123-el/mpg123-el-1.61.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,6 +16,7 @@ KEYWORDS="amd64 ppc x86"
RDEPEND="media-sound/mpg123
media-sound/alsa-utils"
+PATCHES=( "${FILESDIR}/${P}-stdlib.patch" )
SITEFILE="50${PN}-gentoo.el"
src_compile() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-05 7:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-05 7:31 [gentoo-commits] repo/gentoo:master commit in: app-emacs/mpg123-el/files/, app-emacs/mpg123-el/ Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox