[DRE-commits] [ruby-gettext] 03/04: Add patch for character classes with duplicated range
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Wed Jul 1 14:33:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch master
in repository ruby-gettext.
commit bc14280fc151196a32a1a9505b12aeeeb77c15dd
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Thu May 7 13:41:21 2015 +0300
Add patch for character classes with duplicated range
---
...ve-character-classes-with-duplicated-range.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/0005-remove-character-classes-with-duplicated-range.patch b/debian/patches/0005-remove-character-classes-with-duplicated-range.patch
new file mode 100644
index 0000000..a0f173d
--- /dev/null
+++ b/debian/patches/0005-remove-character-classes-with-duplicated-range.patch
@@ -0,0 +1,21 @@
+From: Hleb Valoshka <375gnu at gmail.com>
+Date: Thu, 7 May 2015 13:40:17 +0300
+Subject: remove character classes with duplicated range
+
+---
+ lib/gettext/tools/msgcat.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/gettext/tools/msgcat.rb b/lib/gettext/tools/msgcat.rb
+index 1353d38..d61a83d 100644
+--- a/lib/gettext/tools/msgcat.rb
++++ b/lib/gettext/tools/msgcat.rb
+@@ -124,7 +124,7 @@ module GetText
+ new_msgstr = ""
+ msgstr.each_line do |line|
+ case line
+- when /\A([\w\d\-_]+):/
++ when /\A([\w\-]+):/
+ name = $1
+ next if remove_header_fields.include?(name)
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 5674133..c192c15 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
0002-Make-test-unit-notify-and-test-unit-rr-optional-to-r.patch
0003-Do-not-use-Bundler-in-Rakefile.patch
0004-Use-system-racc-in-Rakefile.patch
+0005-remove-character-classes-with-duplicated-range.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gettext.git
More information about the Pkg-ruby-extras-commits
mailing list