ports/lang/ruby23/files/patch-thread__pthread.c
Hajimu UMEMOTO 97a72db9ee Fix build on FreeBSD 11 and later.
Reported by:	KIRIYAMA Kazuhiko <kiri [...] kx.openedu.org>
Tested by:	Kurt Jaeger <lists [...] opsec.eu>,
		"Herbert J. Skuhra" <herbert [...] mailbox.org>
2016-07-21 17:47:02 +00:00

11 lines
307 B
C

--- 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