summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-11-12 21:18:00 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-11-12 21:18:00 +0900
commit6081d448de3f9173eaeb858416fc4e0604fd4c03 (patch)
tree358c9a27f17c5c333f15e6dbb19a299c6780efd7 /dev-scheme/escm
parentdev-scheme/escm: update to EAPI 8 (diff)
downloadgentoo-6081d448de3f9173eaeb858416fc4e0604fd4c03.tar.gz
gentoo-6081d448de3f9173eaeb858416fc4e0604fd4c03.tar.bz2
gentoo-6081d448de3f9173eaeb858416fc4e0604fd4c03.zip
dev-scheme/escm: fix implicit declarations
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-scheme/escm')
-rw-r--r--dev-scheme/escm/escm-1.1-r1.ebuild1
-rw-r--r--dev-scheme/escm/files/escm-headres.patch10
2 files changed, 11 insertions, 0 deletions
diff --git a/dev-scheme/escm/escm-1.1-r1.ebuild b/dev-scheme/escm/escm-1.1-r1.ebuild
index 98ca3378b5a6..e9d61e33dd15 100644
--- a/dev-scheme/escm/escm-1.1-r1.ebuild
+++ b/dev-scheme/escm/escm-1.1-r1.ebuild
@@ -20,6 +20,7 @@ RDEPEND="|| (
)"
S="${WORKDIR}/${PN}"
+PATCHES=( "${FILESDIR}"/${PN}-headers.patch )
HTML_DOCS=( ${PN}.html )
src_prepare() {
diff --git a/dev-scheme/escm/files/escm-headres.patch b/dev-scheme/escm/files/escm-headres.patch
new file mode 100644
index 000000000000..bf23008f801f
--- /dev/null
+++ b/dev-scheme/escm/files/escm-headres.patch
@@ -0,0 +1,10 @@
+--- a/escm.c
++++ b/escm.c
+@@ -28,6 +28,7 @@
+
+ #include <sys/types.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <unistd.h>
+ #include <stdarg.h>
+ #include <errno.h>