Date: Thu, 30 Jun 2016 13:36:44 +0900 From: Hajimu UMEMOTO <ume@mahoroba.org> To: Steve Wills <swills@FreeBSD.org> Cc: KIRIYAMA Kazuhiko <kiri@kx.openedu.org>, freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: Is there still broken lang/ruby23 ? Message-ID: <yged1mzcmxv.wl-ume@mahoroba.org> In-Reply-To: <407b9391-86f0-4305-8bc3-3d5b21aacab3@FreeBSD.org> References: <201606282212.u5SMCDQU079882@kx.openedu.org> <407b9391-86f0-4305-8bc3-3d5b21aacab3@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Thu_Jun_30_13:36:44_2016-1 Content-Type: text/plain; charset=US-ASCII Hi, >>>>> On Tue, 28 Jun 2016 22:13:44 -0400 >>>>> Steve Wills <swills@FreeBSD.org> said: Kazuhiko> Is there still broken lang/ruby23[1]. Or can build in latest Kazuhiko> 11.0-* ? Kazuhiko> [1] http://permalink.gmane.org/gmane.os.freebsd.devel.pkg-fallout/294364 swills> Yes, I haven't looked at it yet, but if you want to take a look, I'd swills> welcome patches. Could you put the attached two patches into lang/ruby23/files and give it a try? --Multipart_Thu_Jun_30_13:36:44_2016-1 Content-Type: text/x-patch; name="patch-ccan_list_list.h"; charset=US-ASCII Content-Disposition: attachment; filename="patch-ccan_list_list.h" Content-Transfer-Encoding: 7bit --- ccan/list/list.h.orig 2015-09-06 07:10:54 UTC +++ ccan/list/list.h @@ -57,7 +57,7 @@ struct list_head * Example: * static struct list_head my_list = LIST_HEAD_INIT(my_list); */ -#define LIST_HEAD_INIT(name) { { &name.n, &name.n } } +#define CCAN_LIST_HEAD_INIT(name) { { &name.n, &name.n } } /** * LIST_HEAD - define and initialize an empty list_head @@ -72,8 +72,8 @@ struct list_head * Example: * static LIST_HEAD(my_global_list); */ -#define LIST_HEAD(name) \ - struct list_head name = LIST_HEAD_INIT(name) +#define CCAN_LIST_HEAD(name) \ + struct list_head name = CCAN_LIST_HEAD_INIT(name) /** * list_head_init - initialize a list_head --Multipart_Thu_Jun_30_13:36:44_2016-1 Content-Type: text/x-patch; name="patch-thread__pthread.c"; charset=US-ASCII Content-Disposition: attachment; filename="patch-thread__pthread.c" Content-Transfer-Encoding: 7bit --- thread_pthread.c.orig 2016-04-15 16:07:07 UTC +++ thread_pthread.c @@ -1154,7 +1154,7 @@ native_sleep(rb_thread_t *th, struct tim } #ifdef USE_UBF_LIST -static LIST_HEAD(ubf_list_head); +static CCAN_LIST_HEAD(ubf_list_head); /* The thread 'th' is registered to be trying unblock. */ static void --Multipart_Thu_Jun_30_13:36:44_2016-1 Content-Type: text/plain; charset=US-ASCII -- Hajimu UMEMOTO ume@mahoroba.org ume@FreeBSD.org http://www.mahoroba.org/~ume/ --Multipart_Thu_Jun_30_13:36:44_2016-1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yged1mzcmxv.wl-ume>