mirror of https://github.com/openbsd/ports.git
Update to tiny_tds 2.1.5
Add patch to avoid warning on Ruby 3.2.
This commit is contained in:
parent
07874a5186
commit
fb29f2022f
|
@ -1,6 +1,6 @@
|
|||
COMMENT = simple and fast ruby binding to FreeTDS
|
||||
|
||||
DISTNAME = tiny_tds-2.1.4
|
||||
DISTNAME = tiny_tds-2.1.5
|
||||
CATEGORIES = databases
|
||||
|
||||
HOMEPAGE = https://github.com/rails-sqlserver/tiny_tds
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (tiny_tds-2.1.4.gem) = xniC7Qs5QWi1gvk8e8RtmekzyGAH84OkBqyEksS/hzs=
|
||||
SIZE (tiny_tds-2.1.4.gem) = 62464
|
||||
SHA256 (tiny_tds-2.1.5.gem) = yYtl9VoRW+q7rkFhei8UYiaCNaKGCN3Agzb/wm8vyhk=
|
||||
SIZE (tiny_tds-2.1.5.gem) = 62976
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
Avoid warning on Ruby 3.2+.
|
||||
|
||||
Index: ext/tiny_tds/result.c
|
||||
--- ext/tiny_tds/result.c.orig
|
||||
+++ ext/tiny_tds/result.c
|
||||
@@ -582,6 +582,7 @@ void init_tinytds_result() {
|
||||
cDate = rb_const_get(rb_cObject, rb_intern("Date"));
|
||||
/* Define TinyTds::Result */
|
||||
cTinyTdsResult = rb_define_class_under(mTinyTds, "Result", rb_cObject);
|
||||
+ rb_undef_alloc_func(cTinyTdsResult);
|
||||
/* Define TinyTds::Result Public Methods */
|
||||
rb_define_method(cTinyTdsResult, "fields", rb_tinytds_result_fields, 0);
|
||||
rb_define_method(cTinyTdsResult, "each", rb_tinytds_result_each, -1);
|
Loading…
Reference in New Issue