svn commit: r496511 - in head/databases/rubygem-dbd-mysql: . files
Dirk Meyer
dinoex at FreeBSD.org
Thu Mar 21 20:11:40 UTC 2019
Author: dinoex
Date: Thu Mar 21 20:11:39 2019
New Revision: 496511
URL: https://svnweb.freebsd.org/changeset/ports/496511
Log:
- fix warning: constant ::Fixnum is deprecated
Added:
head/databases/rubygem-dbd-mysql/files/
head/databases/rubygem-dbd-mysql/files/patch-statement.rb (contents, props changed)
Modified:
head/databases/rubygem-dbd-mysql/Makefile
Modified: head/databases/rubygem-dbd-mysql/Makefile
==============================================================================
--- head/databases/rubygem-dbd-mysql/Makefile Thu Mar 21 19:45:10 2019 (r496510)
+++ head/databases/rubygem-dbd-mysql/Makefile Thu Mar 21 20:11:39 2019 (r496511)
@@ -2,6 +2,7 @@
PORTNAME= dbd-mysql
PORTVERSION= 0.4.4
+PORTREVISION= 1
CATEGORIES= databases rubygems
MASTER_SITES= RG
Added: head/databases/rubygem-dbd-mysql/files/patch-statement.rb
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/rubygem-dbd-mysql/files/patch-statement.rb Thu Mar 21 20:11:39 2019 (r496511)
@@ -0,0 +1,11 @@
+--- lib/dbd/mysql/statement.rb.orig 2018-04-15 10:29:03 UTC
++++ lib/dbd/mysql/statement.rb
+@@ -20,7 +20,7 @@ module DBI::DBD::Mysql
+ # binding.
+ #
+ def bind_param(param, value, attribs)
+- raise InterfaceError, "only ? parameters supported" unless param.is_a? Fixnum
++ raise InterfaceError, "only ? parameters supported" unless param.is_a? Integer
+ @params[param-1] = value
+ end
+
More information about the svn-ports-all
mailing list