Index: head/databases/rubygem-bdb1/Makefile =================================================================== --- head/databases/rubygem-bdb1/Makefile (revision 457454) +++ head/databases/rubygem-bdb1/Makefile (revision 457455) @@ -1,25 +1,19 @@ # $FreeBSD$ PORTNAME= bdb1 PORTVERSION= 0.2.5 PORTREVISION= 1 CATEGORIES= databases rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby interface to Berkeley DB revision 1.8x with full feature support LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual USE_RUBY= yes USES= gem shebangfix SHEBANG_FILES= examples/*.rb -.include - -.if ${RUBY_VER} >= 2.2 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ext_bdb1_recnum.c -.endif - -.include +.include Index: head/databases/rubygem-bdb1/files/extra-patch-ext_bdb1_recnum.c =================================================================== --- head/databases/rubygem-bdb1/files/extra-patch-ext_bdb1_recnum.c (revision 457454) +++ head/databases/rubygem-bdb1/files/extra-patch-ext_bdb1_recnum.c (nonexistent) @@ -1,11 +0,0 @@ ---- ext/bdb1/recnum.c.orig -+++ ext/bdb1/recnum.c -@@ -17,7 +17,7 @@ - argc++; - } - 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])) { - rb_hash_aset(argv[argc - 1], sarray, INT2FIX(0)); - } - rb_hash_aset(argv[argc - 1], rb_str_new2("set_flags"), INT2FIX(DB_RENUMBER)); Property changes on: head/databases/rubygem-bdb1/files/extra-patch-ext_bdb1_recnum.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/databases/rubygem-bdb1/files/patch-ext_bdb1_recnum.c =================================================================== --- head/databases/rubygem-bdb1/files/patch-ext_bdb1_recnum.c (nonexistent) +++ head/databases/rubygem-bdb1/files/patch-ext_bdb1_recnum.c (revision 457455) @@ -0,0 +1,11 @@ +--- ext/bdb1/recnum.c.orig ++++ ext/bdb1/recnum.c +@@ -17,7 +17,7 @@ + argc++; + } + 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])) { + rb_hash_aset(argv[argc - 1], sarray, INT2FIX(0)); + } + rb_hash_aset(argv[argc - 1], rb_str_new2("set_flags"), INT2FIX(DB_RENUMBER)); Property changes on: head/databases/rubygem-bdb1/files/patch-ext_bdb1_recnum.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property