svn commit: r397464 - in head/lang: ruby20/files ruby21/files
Philip M. Gollucci
pgollucci at p6m7g8.com
Mon Sep 21 17:55:48 UTC 2015
Nice!
On Sun, Sep 20, 2015 at 5:30 PM, Michael Moll <mmoll at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe at 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 at 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.
More information about the svn-ports-all
mailing list