svn commit: r500313 - in head/databases/rubygem-bdb1: . files
Dirk Meyer
dinoex at FreeBSD.org
Sun Apr 28 12:47:15 UTC 2019
Author: dinoex
Date: Sun Apr 28 12:47:14 2019
New Revision: 500313
URL: https://svnweb.freebsd.org/changeset/ports/500313
Log:
- fix build with ruby25
Modified:
head/databases/rubygem-bdb1/Makefile
head/databases/rubygem-bdb1/files/patch-ext_bdb1_recnum.c
Modified: head/databases/rubygem-bdb1/Makefile
==============================================================================
--- head/databases/rubygem-bdb1/Makefile Sun Apr 28 12:11:21 2019 (r500312)
+++ head/databases/rubygem-bdb1/Makefile Sun Apr 28 12:47:14 2019 (r500313)
@@ -12,8 +12,6 @@ COMMENT= Ruby interface to Berkeley DB revision 1.8x w
LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
-BROKEN_RUBY25= yes
-
USE_RUBY= yes
USES= gem shebangfix
SHEBANG_FILES= examples/*.rb
Modified: head/databases/rubygem-bdb1/files/patch-ext_bdb1_recnum.c
==============================================================================
--- head/databases/rubygem-bdb1/files/patch-ext_bdb1_recnum.c Sun Apr 28 12:11:21 2019 (r500312)
+++ head/databases/rubygem-bdb1/files/patch-ext_bdb1_recnum.c Sun Apr 28 12:47:14 2019 (r500313)
@@ -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));
More information about the svn-ports-all
mailing list