=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for ruby31-ncurses-1.2.4nb5
--- form_wrap.o ---
--- menu_wrap.o ---
--- ncurses_wrap.o ---
--- panel_wrap.o ---
--- form_wrap.o ---
compiling form_wrap.c
--- menu_wrap.o ---
compiling menu_wrap.c
--- ncurses_wrap.o ---
compiling ncurses_wrap.c
--- panel_wrap.o ---
compiling panel_wrap.c
--- menu_wrap.o ---
menu_wrap.c: In function 'rbncurs_c_menu_request_name':
menu_wrap.c:665:7: warning: implicit declaration of function 'menu_request_name'; did you mean 'rbncurs_c_menu_request_name'? [-Wimplicit-function-declaration]
   s = menu_request_name(NUM2INT(request));
       ^~~~~~~~~~~~~~~~~
       rbncurs_c_menu_request_name
menu_wrap.c:665:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
   s = menu_request_name(NUM2INT(request));
     ^
menu_wrap.c: In function 'rbncurs_c_menu_request_by_name':
menu_wrap.c:673:18: warning: implicit declaration of function 'menu_request_by_name'; did you mean 'rbncurs_c_menu_request_by_name'? [-Wimplicit-function-declaration]
   return INT2NUM(menu_request_by_name(StringValuePtr(name)));
                  ^~~~~~~~~~~~~~~~~~~~
                  rbncurs_c_menu_request_by_name
menu_wrap.c: In function 'rbncurs_c_set_menu_spacing':
menu_wrap.c:953:18: warning: implicit declaration of function 'set_menu_spacing'; did you mean 'set_menu_win'? [-Wimplicit-function-declaration]
   return INT2NUM(set_menu_spacing(menu, NUM2INT(spc_description),
                  ^~~~~~~~~~~~~~~~
                  set_menu_win
--- form_wrap.o ---
form_wrap.c: In function 'rbncurs_c_form_request_name':
form_wrap.c:1052:7: warning: implicit declaration of function 'form_request_name' [-Wimplicit-function-declaration]
   s = form_request_name(NUM2INT(request));
       ^~~~~~~~~~~~~~~~~
form_wrap.c:1052:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
   s = form_request_name(NUM2INT(request));
     ^
--- menu_wrap.o ---
menu_wrap.c: In function 'rbncurs_c_menu_spacing':
menu_wrap.c:975:18: warning: implicit declaration of function 'menu_spacing'; did you mean 'menu_win'? [-Wimplicit-function-declaration]
     int result = menu_spacing(menu, &vals[0], &vals[1], &vals[2]);
                  ^~~~~~~~~~~~
                  menu_win
--- panel_wrap.o ---
In file included from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26:0,
                 from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby.h:38,
                 from panel_wrap.h:25,
                 from panel_wrap.c:24:
panel_wrap.c: In function 'init_panel':
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:307:143: warning: passing argument 3 of 'rb_define_singleton_method_01' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_singleton_method(obj, mid, func, arity)   RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity))
                                                                                                                                               ^
panel_wrap.c:199:5: note: in expansion of macro 'rb_define_singleton_method'
     rb_define_singleton_method(mPanel, "panel_above",
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:270:21: note: expected 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                         ^~~
--- form_wrap.o ---
form_wrap.c: In function 'rbncurs_c_form_request_by_name':
form_wrap.c:1059:18: warning: implicit declaration of function 'form_request_by_name'; did you mean 'rbncurs_c_form_request_by_name'? [-Wimplicit-function-declaration]
   return INT2NUM(form_request_by_name(StringValuePtr(name)));
                  ^~~~~~~~~~~~~~~~~~~~
                  rbncurs_c_form_request_by_name
form_wrap.c: In function 'rbncurs_m_new_fieldtype':
form_wrap.c:1173:40: warning: passing argument 1 of 'new_fieldtype' from incompatible pointer type [-Wincompatible-pointer-types]
   FIELDTYPE* fieldtype = new_fieldtype(field_check_proc == Qnil ? NULL : field_check,
                                        ^~~~~~~~~~~~~~~~
In file included from form_wrap.h:26:0,
                 from form_wrap.c:30:
/usr/include/form.h:343:14: note: expected 'int (*)(FIELD *, char *) {aka int (*)(struct _form_field *, char *)}' but argument is of type '_Bool (*)(FIELD *, const void *) {aka _Bool (*)(struct _form_field *, const void *)}'
 FIELDTYPE   *new_fieldtype(int (* field_check)(FIELD *, char *),
              ^~~~~~~~~~~~~
form_wrap.c:1174:14: warning: passing argument 2 of 'new_fieldtype' from incompatible pointer type [-Wincompatible-pointer-types]
              char_check_proc == Qnil ? NULL : char_check);
              ^~~~~~~~~~~~~~~
In file included from form_wrap.h:26:0,
                 from form_wrap.c:30:
/usr/include/form.h:343:14: note: expected 'int (*)(int,  char *)' but argument is of type '_Bool (*)(int,  const void *)'
 FIELDTYPE   *new_fieldtype(int (* field_check)(FIELD *, char *),
              ^~~~~~~~~~~~~
form_wrap.c:1175:32: warning: passing argument 2 of 'set_fieldtype_arg' from incompatible pointer type [-Wincompatible-pointer-types]
   set_fieldtype_arg(fieldtype, make_arg, NULL, NULL);
                                ^~~~~~~~
In file included from form_wrap.h:26:0,
                 from form_wrap.c:30:
/usr/include/form.h:363:14: note: expected 'char * (*)(char **)' but argument is of type 'void * (*)(char **)'
 int          set_fieldtype_arg(FIELDTYPE *, char *(*)(va_list *),
              ^~~~~~~~~~~~~~~~~
--- panel_wrap.o ---
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:307:143: warning: passing argument 3 of 'rb_define_singleton_method_01' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_singleton_method(obj, mid, func, arity)   RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity))
                                                                                                                                               ^
panel_wrap.c:206:5: note: in expansion of macro 'rb_define_singleton_method'
     rb_define_singleton_method(mPanel, "panel_below",
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:270:21: note: expected 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                         ^~~
--- form_wrap.o ---
form_wrap.c: In function 'rbncurs_c_set_fieldtype_choice':
form_wrap.c:1215:13: warning: passing argument 2 of 'set_fieldtype_choice' from incompatible pointer type [-Wincompatible-pointer-types]
             next_choice_proc == Qnil ? NULL : next_choice,
             ^~~~~~~~~~~~~~~~
In file included from form_wrap.h:26:0,
                 from form_wrap.c:30:
/usr/include/form.h:366:14: note: expected 'int (*)(FIELD *, char *) {aka int (*)(struct _form_field *, char *)}' but argument is of type '_Bool (*)(FIELD *, const void *) {aka _Bool (*)(struct _form_field *, const void *)}'
 int          set_fieldtype_choice(FIELDTYPE *, int (*)(FIELD *, char *),
              ^~~~~~~~~~~~~~~~~~~~
form_wrap.c:1216:13: warning: passing argument 3 of 'set_fieldtype_choice' from incompatible pointer type [-Wincompatible-pointer-types]
             prev_choice_proc == Qnil ? NULL : prev_choice);
             ^~~~~~~~~~~~~~~~
In file included from form_wrap.h:26:0,
                 from form_wrap.c:30:
/usr/include/form.h:366:14: note: expected 'int (*)(FIELD *, char *) {aka int (*)(struct _form_field *, char *)}' but argument is of type '_Bool (*)(FIELD *, const void *) {aka _Bool (*)(struct _form_field *, const void *)}'
 int          set_fieldtype_choice(FIELDTYPE *, int (*)(FIELD *, char *),
              ^~~~~~~~~~~~~~~~~~~~
--- ncurses_wrap.o ---
ncurses_wrap.c: In function 'rbncurshelper_nonblocking_wgetch':
ncurses_wrap.c:818:25: error: dereferencing pointer to incomplete type 'WINDOW {aka struct _win_st}'
     int windelay = c_win->_delay;
                         ^~
ncurses_wrap.c:851:2: warning: implicit declaration of function 'rb_thread_select'; did you mean 'rb_thread_sleep'? [-Wimplicit-function-declaration]
  rb_thread_select(infd + 1, &in_fds, NULL, NULL, &tv);
  ^~~~~~~~~~~~~~~~
  rb_thread_sleep
--- form_wrap.o ---
In file included from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26:0,
                 from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby.h:38,
                 from form_wrap.h:27,
                 from form_wrap.c:30:
form_wrap.c: In function 'init_form':
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:135: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                       ^
form_wrap.h:51:3: note: in expansion of macro 'rb_define_method'
   rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs);      \
   ^~~~~~~~~~~~~~~~
form_wrap.c:1402:3: note: in expansion of macro 'RB_CLASS_METH'
   RB_CLASS_METH(cFIELD, "back", field_back,1);
   ^~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:21: note: expected 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                         ^~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:135: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                       ^
form_wrap.h:53:5: note: in expansion of macro 'rb_define_method'
     rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
     ^~~~~~~~~~~~~~~~
form_wrap.c:1402:3: note: in expansion of macro 'RB_CLASS_METH'
   RB_CLASS_METH(cFIELD, "back", field_back,1);
   ^~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:21: note: expected 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                         ^~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:135: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                       ^
form_wrap.h:51:3: note: in expansion of macro 'rb_define_method'
   rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs);      \
   ^~~~~~~~~~~~~~~~
form_wrap.c:1404:3: note: in expansion of macro 'RB_CLASS_METH'
   RB_CLASS_METH(cFIELD, "fore", field_fore,1);
   ^~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:21: note: expected 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                         ^~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:135: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                       ^
form_wrap.h:53:5: note: in expansion of macro 'rb_define_method'
     rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
     ^~~~~~~~~~~~~~~~
form_wrap.c:1404:3: note: in expansion of macro 'RB_CLASS_METH'
   RB_CLASS_METH(cFIELD, "fore", field_fore,1);
   ^~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:21: note: expected 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                         ^~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:135: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                       ^
form_wrap.h:51:3: note: in expansion of macro 'rb_define_method'
   rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs);      \
   ^~~~~~~~~~~~~~~~
form_wrap.c:1411:3: note: in expansion of macro 'RB_CLASS_METH'
   RB_CLASS_METH(cFIELD, "pad", field_pad,1);
   ^~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:21: note: expected 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                         ^~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:135: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
                                                                                                                                       ^
form_wrap.h:53:5: note: in expansion of macro 'rb_define_method'
     rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \
     ^~~~~~~~~~~~~~~~
form_wrap.c:1411:3: note: in expansion of macro 'RB_CLASS_METH'
   RB_CLASS_METH(cFIELD, "pad", field_pad,1);
   ^~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:21: note: expected 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                         ^~~
--- ncurses_wrap.o ---
In file included from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26:0,
                 from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby.h:38,
                 from ncurses_wrap.h:86,
                 from ncurses_wrap.c:67:
ncurses_wrap.c: In function 'init_functions_3':
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:337:142: warning: passing argument 3 of 'rb_define_module_function_01' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_module_function(mod, mid, func, arity)    RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity))
                                                                                                                                              ^
ncurses_wrap.c:2468:5: note: in expansion of macro 'rb_define_module_function'
     rb_define_module_function(mNcurses, "wenclose?",
     ^~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:273:21: note: expected 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE,  VALUE,  VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
                                         ^~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:337:142: warning: passing argument 3 of 'rb_define_module_function_02' from incompatible pointer type [-Wincompatible-pointer-types]
 #define rb_define_module_function(mod, mid, func, arity)    RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity))
                                                                                                                                              ^
ncurses_wrap.c:2482:5: note: in expansion of macro 'rb_define_module_function'
     rb_define_module_function(mNcurses, "has_key?",
     ^~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:273:21: note: expected 'VALUE (*)(VALUE,  VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int)}' but argument is of type 'VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}'
 RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *)
                     ^
/pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL'
 RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _02(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE), int); \
                                         ^~~
*** [ncurses_wrap.o] Error code 1

make: stopped in /pbulk/work/devel/ruby-ncurses/work/ncurses-ruby-1.2.4
1 error

make: stopped in /pbulk/work/devel/ruby-ncurses/work/ncurses-ruby-1.2.4
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/devel/ruby-ncurses
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/ruby-ncurses