packages: ruby/ruby.spec, ruby/ruby-imap-quicksync-fix.patch (NEW) - fix IM...
aredridel
aredridel at pld-linux.org
Wed Jul 8 01:08:40 CEST 2009
Author: aredridel Date: Tue Jul 7 23:08:39 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- fix IMAP bug with quicksync support (Dovvecot 1.2.0 triggers)
---- Files affected:
packages/ruby:
ruby.spec (1.192 -> 1.193) , ruby-imap-quicksync-fix.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/ruby/ruby.spec
diff -u packages/ruby/ruby.spec:1.192 packages/ruby/ruby.spec:1.193
--- packages/ruby/ruby.spec:1.192 Mon Jun 15 21:20:58 2009
+++ packages/ruby/ruby.spec Wed Jul 8 01:08:34 2009
@@ -47,6 +47,7 @@
Patch1: %{name}-mkmf-shared.patch
Patch2: %{name}-require-rubygems-version.patch
Patch3: %{name}-lib64.patch
+Patch4: %{name}-quicksync-fix.patch
URL: http://www.ruby-lang.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -221,6 +222,7 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
find -type f \( -name '*.rb' -o -name '*.cgi' -o -name '*.test' -o -name 'ruby.1' \
-o -name 'ruby.info*' -o -name '*.html' -o -name '*.tcl' -o -name '*.texi' \) \
@@ -459,6 +461,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.193 2009/07/07 23:08:34 aredridel
+- fix IMAP bug with quicksync support (Dovvecot 1.2.0 triggers)
+
Revision 1.192 2009/06/15 19:20:58 glen
- release 2
================================================================
Index: packages/ruby/ruby-imap-quicksync-fix.patch
diff -u /dev/null packages/ruby/ruby-imap-quicksync-fix.patch:1.1
--- /dev/null Wed Jul 8 01:08:40 2009
+++ packages/ruby/ruby-imap-quicksync-fix.patch Wed Jul 8 01:08:34 2009
@@ -0,0 +1,26 @@
+Only in ruby-1.8.7-p173/lib/net: .imap.rb.swp
+diff -ur ruby-1.8.7-p173-o/lib/net/imap.rb ruby-1.8.7-p173/lib/net/imap.rb
+--- ruby-1.8.7-p173-o/lib/net/imap.rb 2009-07-07 16:43:28.000000000 -0600
++++ ruby-1.8.7-p173/lib/net/imap.rb 2009-07-07 17:04:30.000000000 -0600
+@@ -2764,11 +2764,16 @@
+ match(T_SPACE)
+ result = ResponseCode.new(name, number)
+ else
+- match(T_SPACE)
+- @lex_state = EXPR_CTEXT
+- token = match(T_TEXT)
+- @lex_state = EXPR_BEG
+- result = ResponseCode.new(name, token.value)
++ begin
++ match(T_SPACE)
++ rescue ResponseParseError
++ # Got unexpected atom with no value; ignore
++ else
++ @lex_state = EXPR_CTEXT
++ token = match(T_TEXT)
++ @lex_state = EXPR_BEG
++ result = ResponseCode.new(name, token.value)
++ end
+ end
+ match(T_RBRA)
+ @lex_state = EXPR_RTEXT
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ruby/ruby.spec?r1=1.192&r2=1.193&f=u
More information about the pld-cvs-commit
mailing list