diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-07-11 23:33:20 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-07-11 23:39:29 +0900 |
commit | a87a1d38d3df77636fcd39600bd54e2b047c0de3 (patch) | |
tree | 8242b9566055e7903a628718bafbafc3fd8c0242 /dev-scheme/c-wrapper | |
parent | dev-scheme/c-wrapper: respect CFLAGS (diff) | |
download | gentoo-a87a1d38d3df77636fcd39600bd54e2b047c0de3.tar.gz gentoo-a87a1d38d3df77636fcd39600bd54e2b047c0de3.tar.bz2 gentoo-a87a1d38d3df77636fcd39600bd54e2b047c0de3.zip |
dev-scheme/c-wrapper: fix finalizer of ffi_closure
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-scheme/c-wrapper')
-rw-r--r-- | dev-scheme/c-wrapper/c-wrapper-0.6.1-r1.ebuild (renamed from dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild) | 5 | ||||
-rw-r--r-- | dev-scheme/c-wrapper/files/c-wrapper-closure.patch | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild b/dev-scheme/c-wrapper/c-wrapper-0.6.1-r1.ebuild index 864680e0294f..709c8c2eb641 100644 --- a/dev-scheme/c-wrapper/c-wrapper-0.6.1.ebuild +++ b/dev-scheme/c-wrapper/c-wrapper-0.6.1-r1.ebuild @@ -18,7 +18,10 @@ RDEPEND="dev-scheme/gauche virtual/libffi" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-closure.patch + "${FILESDIR}"/${PN}-gentoo.patch +) HTML_DOCS=( doc/${PN}-ref{e,j}.html ) src_prepare() { diff --git a/dev-scheme/c-wrapper/files/c-wrapper-closure.patch b/dev-scheme/c-wrapper/files/c-wrapper-closure.patch new file mode 100644 index 000000000000..24be1d052fd7 --- /dev/null +++ b/dev-scheme/c-wrapper/files/c-wrapper-closure.patch @@ -0,0 +1,10 @@ +--- a/src/closure_alloc.c ++++ b/src/closure_alloc.c +@@ -100,6 +100,7 @@ + ++(node->n); + return; + } ++ node = node->next; + } + + node = malloc(sizeof(FreeNode)); |