mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- fix build with ruby25
This commit is contained in:
parent
705ce4e254
commit
73c4c3043f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500313
@ -12,8 +12,6 @@ COMMENT= Ruby interface to Berkeley DB revision 1.8x with full feature support
|
||||
LICENSE= BSD2CLAUSE RUBY
|
||||
LICENSE_COMB= dual
|
||||
|
||||
BROKEN_RUBY25= yes
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= gem shebangfix
|
||||
SHEBANG_FILES= examples/*.rb
|
||||
|
@ -5,7 +5,7 @@
|
||||
}
|
||||
rb_hash_aset(argv[argc - 1], array, INT2FIX(0));
|
||||
- if (rb_hash_aref(argv[argc - 1], sarray) != RHASH(argv[argc - 1])->ifnone) {
|
||||
+ if (rb_hash_aref(argv[argc - 1], sarray) != rb_hash_ifnone(argv[argc - 1])) {
|
||||
+ if (rb_hash_lookup2(argv[argc - 1], sarray, Qundef) != Qundef) {
|
||||
rb_hash_aset(argv[argc - 1], sarray, INT2FIX(0));
|
||||
}
|
||||
rb_hash_aset(argv[argc - 1], rb_str_new2("set_flags"), INT2FIX(DB_RENUMBER));
|
||||
|
Loading…
Reference in New Issue
Block a user