Date: Mon, 21 Sep 2015 13:55:01 -0400 From: "Philip M. Gollucci" <pgollucci@p6m7g8.com> To: Michael Moll <mmoll@freebsd.org> Cc: "ports-committers@freebsd.org" <ports-committers@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org> Subject: Re: svn commit: r397464 - in head/lang: ruby20/files ruby21/files Message-ID: <CACM2dAYitshrsJz9Yx91JRRjN=0fgjhkfJVzb9tkQYOMKmwKUg@mail.gmail.com> In-Reply-To: <201509202130.t8KLUe7W015210@repo.freebsd.org> References: <201509202130.t8KLUe7W015210@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Nice! On Sun, Sep 20, 2015 at 5:30 PM, Michael Moll <mmoll@freebsd.org> 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 <http://pgp.mit.edu/pks/lookup?op=get&search=0xF699A450D21D2752> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACM2dAYitshrsJz9Yx91JRRjN=0fgjhkfJVzb9tkQYOMKmwKUg>