Date: Sun, 28 Apr 2019 12:47:14 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500313 - in head/databases/rubygem-bdb1: . files Message-ID: <201904281247.x3SClEDY096046@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904281247.x3SClEDY096046>