From owner-svn-ports-all@freebsd.org Sun Sep 20 21:30:41 2015 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 29530A06551; Sun, 20 Sep 2015 21:30:41 +0000 (UTC) (envelope-from mmoll@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 007DF1964; Sun, 20 Sep 2015 21:30:41 +0000 (UTC) (envelope-from mmoll@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8KLUe8F015355; Sun, 20 Sep 2015 21:30:40 GMT (envelope-from mmoll@FreeBSD.org) Received: (from mmoll@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8KLUe7W015210; Sun, 20 Sep 2015 21:30:40 GMT (envelope-from mmoll@FreeBSD.org) Message-Id: <201509202130.t8KLUe7W015210@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mmoll set sender to mmoll@FreeBSD.org using -f From: Michael Moll Date: Sun, 20 Sep 2015 21:30:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397464 - in head/lang: ruby20/files ruby21/files X-SVN-Group: ports-head 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.20 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: Sun, 20 Sep 2015 21:30:41 -0000 Author: mmoll Date: Sun Sep 20 21:30:40 2015 New Revision: 397464 URL: https://svnweb.freebsd.org/changeset/ports/397464 Log: fix Ruby 2.0 and 2.1 header for clang 3.7 2.2 already had this change in upstream PR: 202660 Submitted by: dim (different version) Obtained from: Ruby SVN repository (r47996) Added: head/lang/ruby20/files/patch-include_ruby_ruby.h (contents, props changed) head/lang/ruby21/files/patch-include_ruby_ruby.h (contents, props changed) Added: head/lang/ruby20/files/patch-include_ruby_ruby.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ruby20/files/patch-include_ruby_ruby.h Sun Sep 20 21:30:40 2015 (r397464) @@ -0,0 +1,11 @@ +--- include/ruby/ruby.h.orig 2015-09-20 20:42:37 UTC ++++ include/ruby/ruby.h +@@ -238,7 +238,7 @@ typedef char ruby_check_sizeof_voidp[SIZ + #define FIXNUM_MAX (LONG_MAX>>1) + #define FIXNUM_MIN RSHIFT((long)LONG_MIN,1) + +-#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) ++#define INT2FIX(i) (((VALUE)(i))<<1 | FIXNUM_FLAG) + #define LONG2FIX(i) INT2FIX(i) + #define rb_fix_new(v) INT2FIX(v) + VALUE rb_int2inum(SIGNED_VALUE); Added: head/lang/ruby21/files/patch-include_ruby_ruby.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ruby21/files/patch-include_ruby_ruby.h Sun Sep 20 21:30:40 2015 (r397464) @@ -0,0 +1,11 @@ +--- include/ruby/ruby.h.orig 2015-09-20 20:49:26 UTC ++++ include/ruby/ruby.h +@@ -228,7 +228,7 @@ typedef char ruby_check_sizeof_voidp[SIZ + #define FIXNUM_MAX (LONG_MAX>>1) + #define FIXNUM_MIN RSHIFT((long)LONG_MIN,1) + +-#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) ++#define INT2FIX(i) (((VALUE)(i))<<1 | FIXNUM_FLAG) + #define LONG2FIX(i) INT2FIX(i) + #define rb_fix_new(v) INT2FIX(v) + VALUE rb_int2inum(SIGNED_VALUE);