diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-10-05 09:30:10 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-10-05 09:30:54 +0200 |
commit | 64c2c2eef8277357e7ccd6a1069fca8fa2580e7d (patch) | |
tree | cdcf528a0239f934d1d3e20570ffbcaab2de38dd /app-emacs | |
parent | dev-libs/keystone: explicitly specify python interpreter for cmake (diff) | |
download | gentoo-64c2c2eef8277357e7ccd6a1069fca8fa2580e7d.tar.gz gentoo-64c2c2eef8277357e7ccd6a1069fca8fa2580e7d.tar.bz2 gentoo-64c2c2eef8277357e7ccd6a1069fca8fa2580e7d.zip |
app-emacs/mpg123-el: Include stdlib.h for exit(3)
Closes: https://bugs.gentoo.org/874954
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/mpg123-el/files/mpg123-el-1.61-stdlib.patch | 10 | ||||
-rw-r--r-- | app-emacs/mpg123-el/mpg123-el-1.61.ebuild | 3 |
2 files changed, 12 insertions, 1 deletions
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() { |