Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2019 20:11:39 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496511 - in head/databases/rubygem-dbd-mysql: . files
Message-ID:  <201903212011.x2LKBdRV076258@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903212011.x2LKBdRV076258>