SOURCES: ruby-DBD-SQLite3-warning.patch (NEW) - added, quells a wa...

aredridel aredridel at pld-linux.org
Wed Nov 29 22:56:09 CET 2006


Author: aredridel                    Date: Wed Nov 29 21:56:09 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- added, quells a warning with ruby > 1.8

---- Files affected:
SOURCES:
   ruby-DBD-SQLite3-warning.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ruby-DBD-SQLite3-warning.patch
diff -u /dev/null SOURCES/ruby-DBD-SQLite3-warning.patch:1.1
--- /dev/null	Wed Nov 29 22:56:09 2006
+++ SOURCES/ruby-DBD-SQLite3-warning.patch	Wed Nov 29 22:56:04 2006
@@ -0,0 +1,12 @@
+diff -ur ruby-dbi-all-o/lib/DBD/SQLite3/SQLite3.rb ruby-dbi-all/lib/DBD/SQLite3/SQLite3.rb
+--- ruby-dbi-all-o/lib/DBD/SQLite3/SQLite3.rb	2005-07-25 22:31:00.000000000 -0600
++++ ruby-dbi-all/lib/DBD/SQLite3/SQLite3.rb	2006-11-29 14:52:10.000000000 -0700
+@@ -218,7 +218,7 @@
+             { 'name' => name,
+               'type_name' => type_name,
+               'sql_type' => begin
+-                              DBI.const_get('SQL_'+type.upcase)
++                              DBI.const_get('SQL_'+self.class.upcase)
+                             rescue NameError
+                               DBI::SQL_OTHER
+                             end,
================================================================


More information about the pld-cvs-commit mailing list