summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-04-11 10:22:37 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-04-15 20:05:24 +0200
commit43aa4f8512cf3ada2e54cbeb799ae8c66e72052b (patch)
tree9b8ce246940dd983833e0d99a9ff6950eaf64661 /dev-ruby/i18n
parentapp-metrics/node_exporter: remove unused file (diff)
downloadgentoo-43aa4f8512cf3ada2e54cbeb799ae8c66e72052b.tar.gz
gentoo-43aa4f8512cf3ada2e54cbeb799ae8c66e72052b.tar.bz2
gentoo-43aa4f8512cf3ada2e54cbeb799ae8c66e72052b.zip
dev-ruby/i18n: remove unused patch(es)
Closes: https://github.com/gentoo/gentoo/pull/20331 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-ruby/i18n')
-rw-r--r--dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch b/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch
deleted file mode 100644
index ff6019498fc5..000000000000
--- a/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From bbbdedc0c78ec941a84d161d5c610a358310cf99 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
-Date: Tue, 20 Jan 2015 14:34:44 +0100
-Subject: [PATCH] Ignore metadata for frozen classes.
-
----
- lib/i18n/backend/metadata.rb | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/lib/i18n/backend/metadata.rb b/lib/i18n/backend/metadata.rb
-index 52c0a29..a8d922a 100644
---- a/lib/i18n/backend/metadata.rb
-+++ b/lib/i18n/backend/metadata.rb
-@@ -21,11 +21,15 @@ class << self
- def included(base)
- Object.class_eval do
- def translation_metadata
-- @translation_metadata ||= {}
-+ unless self.frozen?
-+ @translation_metadata ||= {}
-+ else
-+ {}
-+ end
- end
-
- def translation_metadata=(translation_metadata)
-- @translation_metadata = translation_metadata
-+ @translation_metadata = translation_metadata unless self.frozen?
- end
- end unless Object.method_defined?(:translation_metadata)
- end