pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ruby-opengl Use more modern macro to build wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/556feb112565
branches:  trunk
changeset: 652736:556feb112565
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jun 07 10:50:26 2015 +0000

description:
Use more modern macro to build with newer Ruby.

diffstat:

 graphics/ruby-opengl/distinfo                        |   3 ++-
 graphics/ruby-opengl/patches/patch-ext_common_conv.h |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 6e0c96ffe0fc -r 556feb112565 graphics/ruby-opengl/distinfo
--- a/graphics/ruby-opengl/distinfo     Sun Jun 07 10:48:27 2015 +0000
+++ b/graphics/ruby-opengl/distinfo     Sun Jun 07 10:50:26 2015 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2013/03/07 17:05:42 taca Exp $
+$NetBSD: distinfo,v 1.12 2015/06/07 10:50:26 taca Exp $
 
 SHA1 (ruby-opengl-0.60.1.gem) = ae8a2ceec7102fce6450273885372fa16d820c87
 RMD160 (ruby-opengl-0.60.1.gem) = fc046485ad0da0a269c5b282cef9f027dad16077
 Size (ruby-opengl-0.60.1.gem) = 245248 bytes
 SHA1 (patch-Rakefile) = 3fc0debd15a230e43dde593af79aa3e857fa4c2d
+SHA1 (patch-ext_common_conv.h) = 12bc77ddbdfd2df39aa7c9688847bae433a8c620
diff -r 6e0c96ffe0fc -r 556feb112565 graphics/ruby-opengl/patches/patch-ext_common_conv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ruby-opengl/patches/patch-ext_common_conv.h      Sun Jun 07 10:50:26 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_common_conv.h,v 1.1 2015/06/07 10:50:27 taca Exp $
+
+* Use more portable macro.
+
+--- ext/common/conv.h.orig     2015-05-30 13:44:54.000000000 +0000
++++ ext/common/conv.h
+@@ -30,7 +30,7 @@
+ #if RUBY_VERSION <190
+ #define       FLOAT_VAL_ACCESS(val) RFLOAT(val)->value
+ #else
+-#define       FLOAT_VAL_ACCESS(val) RFLOAT(val)->float_value
++#define       FLOAT_VAL_ACCESS(val) RFLOAT_VALUE((val))
+ #endif
+ 
+ #define FASTCONV(_name_,_type_,_convfix_,_convfallback_) \



Home | Main Index | Thread Index | Old Index