diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2009-07-22 03:05:40 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2009-07-22 03:05:40 +0000 |
commit | e95a33ace41f5cb23e4950fa0a1617f9d7963c90 (patch) | |
tree | 2ea4f1fa01597a40ff2e49afd31b67b6f2d1d87a /devel/gonzui | |
parent | e6d97f87565dd12743b733a3088ad077b9f64c5a (diff) | |
download | ports-e95a33ace41f5cb23e4950fa0a1617f9d7963c90.tar.gz ports-e95a33ace41f5cb23e4950fa0a1617f9d7963c90.zip |
Notes
Diffstat (limited to 'devel/gonzui')
-rw-r--r-- | devel/gonzui/Makefile | 1 | ||||
-rw-r--r-- | devel/gonzui/files/patch-bdbdbm.rb | 15 | ||||
-rw-r--r-- | devel/gonzui/files/patch-bdbm.rb | 62 |
3 files changed, 78 insertions, 0 deletions
diff --git a/devel/gonzui/Makefile b/devel/gonzui/Makefile index eab5857b7ff5..4a3bd564dcaf 100644 --- a/devel/gonzui/Makefile +++ b/devel/gonzui/Makefile @@ -7,6 +7,7 @@ PORTNAME= gonzui PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gonzui diff --git a/devel/gonzui/files/patch-bdbdbm.rb b/devel/gonzui/files/patch-bdbdbm.rb new file mode 100644 index 000000000000..9bca8785115b --- /dev/null +++ b/devel/gonzui/files/patch-bdbdbm.rb @@ -0,0 +1,15 @@ +--- gonzui/bdbdbm.rb.orig 2005-03-02 18:26:12.000000000 +0900 ++++ gonzui/bdbdbm.rb 2009-07-22 11:39:59.000000000 +0900 +@@ -74,6 +74,12 @@ + end + + module BDBExtension ++ def copies(val) ++ duplicates val, false ++ rescue ++ duplicates val ++ end ++ + def each_by_prefix(prefix) + values = [] + cursor = self.cursor diff --git a/devel/gonzui/files/patch-bdbm.rb b/devel/gonzui/files/patch-bdbm.rb new file mode 100644 index 000000000000..f464c5cad1c5 --- /dev/null +++ b/devel/gonzui/files/patch-bdbm.rb @@ -0,0 +1,62 @@ +--- gonzui/dbm.rb.orig 2005-03-25 17:07:50.000000000 +0900 ++++ gonzui/dbm.rb 2009-07-22 11:39:59.000000000 +0900 +@@ -453,7 +453,7 @@ + end + + def get_format_ids_from_package_id(package_id) +- @pkgid_fmtids.duplicates(package_id) ++ @pkgid_fmtids.copies(package_id) + end + + def get_format_name(format_id) +@@ -473,7 +473,7 @@ + end + + def get_license_ids_from_package_id(package_id) +- @pkgid_lcsids.duplicates(package_id) ++ @pkgid_lcsids.copies(package_id) + end + + def get_license_name(license_id) +@@ -502,7 +502,7 @@ + + def get_ncontents_in_package(package_name) + package_id = get_package_id(package_name) +- @pkgid_pathids.duplicates(package_id).length ++ @pkgid_pathids.copies(package_id).length + end + + def get_nformats +@@ -530,7 +530,7 @@ + end + + def get_package_ids(word_id) +- @wordid_pkgids.duplicates(word_id) ++ @wordid_pkgids.copies(word_id) + end + + def get_package_name(package_id) +@@ -543,7 +543,7 @@ + + def get_package_options(package_id) + options = {} +- values = @pkgid_options.duplicates(package_id) ++ values = @pkgid_options.copies(package_id) + values.each {|value| + k, v = value.split(":", 2) + k = k.intern +@@ -571,12 +571,12 @@ + end + + def get_path_ids(package_id) +- @pkgid_pathids.duplicates(package_id) ++ @pkgid_pathids.copies(package_id) + end + + def get_path_ids_from_package_and_word_id(package_id, word_id) + package_word_id = AutoPack.pack_id2(package_id, word_id) +- return @pkgwordid_pathids.duplicates(package_word_id) ++ return @pkgwordid_pathids.copies(package_word_id) + end + + def get_source_uri(package_id) |