openbsd-ports/textproc/gonzui/patches/patch-gonzui_bdbdbm_rb
jasper c3494dd50a - various improvments and cleanups to get this working again:
* add missing run dependencies
* set the correct path to ruby in the gonzui-* scripts
* remove the patches and cheat with pre-configure
* add patches to fix an error with more recent ruby-bdb
2011-04-08 06:22:51 +00:00

21 lines
464 B
Plaintext

$OpenBSD: patch-gonzui_bdbdbm_rb,v 1.1 2011/04/08 06:22:51 jasper Exp $
Allow this to work with newer ruby-bdb.
From FreeBSD.
--- gonzui/bdbdbm.rb.orig Wed Mar 2 10:26:12 2005
+++ gonzui/bdbdbm.rb Thu Apr 7 23:03:31 2011
@@ -74,6 +74,12 @@ module Gonzui
end
module BDBExtension
+ def copies(val)
+ duplicates val, false
+ rescue
+ duplicates val
+ end
+
def each_by_prefix(prefix)
values = []
cursor = self.cursor