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>
This commit is contained in:
Ulrich Müller
2022-10-05 09:30:10 +02:00
parent 8ef7e7967b
commit 64c2c2eef8
2 changed files with 12 additions and 1 deletions

View File

@@ -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

View File

@@ -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() {