FreeBSD Bugzilla – Attachment 160356 Details for
Bug 202660
Fix lang/ruby21 installed header to fix signed shift warnings for other ports (e.g. devel/rubygem-thrift)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix signed left-shifting in lang/ruby21's public ruby.h
lang__ruby21-fix-signed-shift-1.diff (text/plain), 1.10 KB, created by
Dimitry Andric
on 2015-08-25 18:47:18 UTC
(
hide
)
Description:
Fix signed left-shifting in lang/ruby21's public ruby.h
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-08-25 18:47:18 UTC
Size:
1.10 KB
patch
obsolete
>Index: lang/ruby21/files/patch-include_ruby_ruby.h >=================================================================== >--- lang/ruby21/files/patch-include_ruby_ruby.h (revision 0) >+++ lang/ruby21/files/patch-include_ruby_ruby.h (working copy) >@@ -0,0 +1,11 @@ >+--- include/ruby/ruby.h.orig 2013-12-20 09:07:47.000000000 +0100 >++++ include/ruby/ruby.h 2015-08-25 08:45:58.942682000 +0200 >+@@ -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)(((VALUE)(i))<<1 | FIXNUM_FLAG)) >+ #define LONG2FIX(i) INT2FIX(i) >+ #define rb_fix_new(v) INT2FIX(v) >+ VALUE rb_int2inum(SIGNED_VALUE); > >Property changes on: lang/ruby21/files/patch-include_ruby_ruby.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202660
: 160356