[ruby-dev:50465] Re: [Ruby trunk Bug#14439] build failed on NetBSD 7.1 with MJIT

From: Takahiro Kambe <taca@...>
Date: 2018-02-04 12:47:22 UTC
List: ruby-dev #50465
In message <redmine.issue-14439.20180204122852.8b177c62b00fc2c1@ruby-lang.org>
	on Sun, 04 Feb 2018 12:28:54 +0000 (UTC),
	[email protected] wrote:
> というわけで手元のNetBSD/i386 7.1で試そうとしたら、残念ながらビルドエラーになりました。
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/ruby25-base/patches/patch-configure?rev=1.4

の、

@@ -20224,6 +20229,8 @@ else
 # ifdef _MSC_VER
 #  include <malloc.h>
 #  define alloca _alloca
+# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
+#   include <stdlib.h>
 # else
 #  ifdef HAVE_ALLOCA_H
 #   include <alloca.h>

辺りでしょうか?

-- 
神戸 隆博 / Takahiro Kambe 

In This Thread

Prev Next