summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme')
-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>