diff options
author | joerg <joerg> | 2006-02-08 15:50:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-02-08 15:50:19 +0000 |
commit | 7f3a9d47d85136376cd98d6e5807c4b59dccc758 (patch) | |
tree | 35c64eaf32f40f5f30cceefa9250c7805eca110b /devel | |
parent | 2b8a057eedaf361616749514705fe8ae52e89a62 (diff) | |
download | pkgsrc-7f3a9d47d85136376cd98d6e5807c4b59dccc758.tar.gz |
Fix two C glitches when ncurses is compiled with trace support.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-ncurses/distinfo | 3 | ||||
-rw-r--r-- | devel/ruby-ncurses/patches/patch-aa | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/devel/ruby-ncurses/distinfo b/devel/ruby-ncurses/distinfo index 8183d66e6ce..535adcbc414 100644 --- a/devel/ruby-ncurses/distinfo +++ b/devel/ruby-ncurses/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/01/26 23:00:51 xtraeme Exp $ +$NetBSD: distinfo,v 1.2 2006/02/08 15:50:19 joerg Exp $ SHA1 (ncurses-ruby-1.0.tar.bz2) = 99c42b2bb0a8fc096e4bc5f7f2ffdac81fe664ab RMD160 (ncurses-ruby-1.0.tar.bz2) = 17102c384ca44c21f5be8ca71a2ba558bd17a423 Size (ncurses-ruby-1.0.tar.bz2) = 46328 bytes +SHA1 (patch-aa) = c59399a7338cdd5a8e91d7d896055401369161e6 diff --git a/devel/ruby-ncurses/patches/patch-aa b/devel/ruby-ncurses/patches/patch-aa new file mode 100644 index 00000000000..53d18439505 --- /dev/null +++ b/devel/ruby-ncurses/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1 2006/02/08 15:50:20 joerg Exp $ + +--- ncurses_wrap.c.orig 2006-02-07 17:28:43.000000000 +0000 ++++ ncurses_wrap.c +@@ -2362,7 +2362,7 @@ static VALUE rbncurs_wprintw(int argc, V + + /* Debugging : use with libncurses_g.a */ + #ifdef HAVE__TRACEF +-static VALUE rbncurs_tracef(int argc, VALUE * argv, VALUE) ++static VALUE rbncurs_tracef(int argc, VALUE * argv, VALUE dummy) + { + if (argc < 1) { + rb_raise(rb_eArgError, "function needs at least 1 argument"); +@@ -2374,7 +2374,7 @@ static VALUE rbncurs_tracef(int argc, VA + } + #endif /* HAVE__TRACEF */ + #ifdef HAVE__TRACEDUMP +-static VALUE rbncurs_tracedump(VALUE dummy, VALUE rb_label, label rb_win) ++static VALUE rbncurs_tracedump(VALUE dummy, VALUE rb_label, VALUE rb_win) + { + _tracedump(STR2CSTR(rb_label), get_window(rb_win)); + } |