From owner-svn-ports-head@freebsd.org Mon Sep 21 17:55:48 2015 Return-Path: Delivered-To: svn-ports-head@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 0CF86A062C5 for ; Mon, 21 Sep 2015 17:55:48 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFDE61E22 for ; Mon, 21 Sep 2015 17:55:47 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: by igbni9 with SMTP id ni9so63486835igb.0 for ; Mon, 21 Sep 2015 10:55:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=U3K1ERb1A51GAF1BlTr3y3mgv2CSKl9Ivj38r38Q/M0=; b=cPgpg5b11qLR7ucVyW4aVAZVnft3p/ZFI1iYv82KEmJrCrdyz3zvkP1rpwBOA1K32z bK49e5K4QAFqw30Gm73TYliwBEQJQMD94tfpnwN1dQKOeXVXM5J5TED3NDhkSFf8rO3P GntAh7gjgANO7HKcafZmjCxqdJYlHj5Ew7+QcOEopdSiX3BGFi31TaiOhsa1l1nZN4Uh zzUs6noLTsV/lTI+jkSWf5zIz5VGW8zcHo1FBff3WQSNm1W6ekrlNtp2ckdaHazqGotg iaqfBa6b0i5IsOQATHzPO5gOgnv0ZuCkEko9LQ1ciSF1sxp91xM6yft1WoUPxNu8uhu2 Z3kQ== X-Gm-Message-State: ALoCoQlkKLEgX/t8LG6g0lF2cZ9rPU/HSIhqRKMR2RaTd5prWvbUqwf/nqR3w6gsLfRmenfcQC0K X-Received: by 10.50.77.15 with SMTP id o15mr13111195igw.5.1442858141388; Mon, 21 Sep 2015 10:55:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.132.103 with HTTP; Mon, 21 Sep 2015 10:55:01 -0700 (PDT) X-Originating-IP: [96.255.75.208] In-Reply-To: <201509202130.t8KLUe7W015210@repo.freebsd.org> References: <201509202130.t8KLUe7W015210@repo.freebsd.org> From: "Philip M. Gollucci" Date: Mon, 21 Sep 2015 13:55:01 -0400 Message-ID: Subject: Re: svn commit: r397464 - in head/lang: ruby20/files ruby21/files To: Michael Moll Cc: "ports-committers@freebsd.org" , "svn-ports-all@freebsd.org" , "svn-ports-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2015 17:55:48 -0000 Nice! On Sun, Sep 20, 2015 at 5:30 PM, Michael Moll wrote: > 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); > _______________________________________________ > svn-ports-all@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-ports-all > To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" > -- --------------------------------------------------------------------------------- Curb: Your ride is here 4096R/D21D2752 ECDF B597 B54B 7F92 753E E0EA F699 A450 D21D 2752 Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. Director IT Operations, Curb What doesn't kill us can only make us stronger; Except it almost kills you.