summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-02-14 23:18:48 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-02-14 23:18:48 +0900
commit247ce4067451b82b642c53823231f8ebfe32a879 (patch)
tree029d6a09ae04fedfd36f004bee1e9873507981e0 /dev-scheme/gauche/files
parentmedia-plugins/vdr-vaapidevice: new package (diff)
downloadgentoo-247ce4067451b82b642c53823231f8ebfe32a879.tar.gz
gentoo-247ce4067451b82b642c53823231f8ebfe32a879.tar.bz2
gentoo-247ce4067451b82b642c53823231f8ebfe32a879.zip
dev-scheme/gauche: fix build
Closes: https://bugs.gentoo.org/767310 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-scheme/gauche/files')
-rw-r--r--dev-scheme/gauche/files/gauche-0.9.10-sys-ctermid.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/dev-scheme/gauche/files/gauche-0.9.10-sys-ctermid.patch b/dev-scheme/gauche/files/gauche-0.9.10-sys-ctermid.patch
deleted file mode 100644
index 18e4d5d2295d..000000000000
--- a/dev-scheme/gauche/files/gauche-0.9.10-sys-ctermid.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-commit f3b4beb18f256e733a4c699e96118d47a2191b74
-Author: Shiro Kawai <shiro@acm.org>
-Date: Wed Dec 23 16:22:10 2020 -1000
-
- Fix sys-ctermid out-of-extent memory access bug
-
- https://github.com/shirok/Gauche/issues/740
-
-diff --git a/src/libsys.scm b/src/libsys.scm
-index f253c08a4..7f433c184 100644
---- a/src/libsys.scm
-+++ b/src/libsys.scm
-@@ -460,11 +460,11 @@
- (define-cproc sys-mkdtemp (template::<string>) Scm_SysMkdtemp)
-
- ;; ctermid
--(define-cproc sys-ctermid () ::<const-cstring>
-+(define-cproc sys-ctermid ()
- (.if "defined(GAUCHE_WINDOWS)"
-- (return "CON")
-+ (return '"CON")
- (let* ([buf::(.array char [(+ L_ctermid 1)])])
-- (return (ctermid buf)))))
-+ (return (SCM_MAKE_STR_COPYING (ctermid buf))))))
-
- ;;---------------------------------------------------------------------
- ;; stdlib.h