[Bug 202660] Fix lang/ruby21 installed header to fix signed shift warnings for other ports (e.g. devel/rubygem-thrift)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 7 20:38:13 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202660
--- Comment #2 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Michael Moll from comment #1)
> https://github.com/ruby/ruby/commit/1efb3c31b731e99627bbc0da13dfd3463bb67c67
> did change this i upstream to
> #define INT2FIX(i) (((VALUE)(i))<<1 | FIXNUM_FLAG)
> could you check if that solves the problem with clang 3.7.0?
Yes, that is fine too. Even better that it comes from upstream. :)
I applied the complete diff you mentioned, but it may be a bit overkill. It
should be enough to just patch the public ruby.h header.
Btw, I think this also applies to the other ruby ports?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ruby
mailing list