From owner-svn-ports-all@freebsd.org Tue Jul 26 13:46:49 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56AC9BA5BD8; Tue, 26 Jul 2016 13:46:49 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F3DC1F28; Tue, 26 Jul 2016 13:46:48 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6QDkmu1074826; Tue, 26 Jul 2016 13:46:48 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6QDkmAN074824; Tue, 26 Jul 2016 13:46:48 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201607261346.u6QDkmAN074824@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Tue, 26 Jul 2016 13:46:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r419108 - branches/2016Q3/lang/ruby23/files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2016 13:46:49 -0000 Author: feld Date: Tue Jul 26 13:46:47 2016 New Revision: 419108 URL: https://svnweb.freebsd.org/changeset/ports/419108 Log: MFH: r418883 Fix build on FreeBSD 11 and later. Reported by: KIRIYAMA Kazuhiko Tested by: Kurt Jaeger , "Herbert J. Skuhra" Approved by: ports-secteam (with hat) Added: branches/2016Q3/lang/ruby23/files/patch-ccan_list_list.h - copied unchanged from r418883, head/lang/ruby23/files/patch-ccan_list_list.h branches/2016Q3/lang/ruby23/files/patch-thread__pthread.c - copied unchanged from r418883, head/lang/ruby23/files/patch-thread__pthread.c Modified: Directory Properties: branches/2016Q3/ (props changed) Copied: branches/2016Q3/lang/ruby23/files/patch-ccan_list_list.h (from r418883, head/lang/ruby23/files/patch-ccan_list_list.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q3/lang/ruby23/files/patch-ccan_list_list.h Tue Jul 26 13:46:47 2016 (r419108, copy of r418883, head/lang/ruby23/files/patch-ccan_list_list.h) @@ -0,0 +1,22 @@ +--- 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 Copied: branches/2016Q3/lang/ruby23/files/patch-thread__pthread.c (from r418883, head/lang/ruby23/files/patch-thread__pthread.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q3/lang/ruby23/files/patch-thread__pthread.c Tue Jul 26 13:46:47 2016 (r419108, copy of r418883, head/lang/ruby23/files/patch-thread__pthread.c) @@ -0,0 +1,11 @@ +--- 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