Date: Sun, 28 Dec 2003 01:01:19 +0300 From: Sergey Matveychuk <sem@ciam.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: skv@FreeBSD.org Subject: ports/60638: [PATCH] databases/p5-DBD-mysql: make full functionality with perl 5.005 Message-ID: <E1AaMUp-0000sQ-Oi@Current.sem-home.ciam.ru> Resent-Message-ID: <200312272210.hBRMALPx082185@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60638 >Category: ports >Synopsis: [PATCH] databases/p5-DBD-mysql: make full functionality with perl 5.005 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 27 14:10:21 PST 2003 >Closed-Date: >Last-Modified: >Originator: Sergey Matveychuk >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD Current.sem-home.ciam.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Fri Nov 21 07:47:47 MSK 2003 >Description: [DESCRIBE CHANGES] Some functions don't work with perl 5.005 (from STABLE branch) because of GetInfo.pm has some perl 5.6+ features. This features can be rewrote in compatible manier. This patch do it. Added file(s): - files/patch-aa Port maintainer (skv@FreeBSD.org) is cc'd. Alex Dupre also cc'd as MySQL carring person :) Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- p5-DBD-mysql-2.9003.patch begins here --- diff -ruN --exclude=CVS /usr/ports/databases/p5-DBD-mysql.orig/files/patch-aa /usr/ports/databases/p5-DBD-mysql/files/patch-aa --- /usr/ports/databases/p5-DBD-mysql.orig/files/patch-aa Thu Jan 1 03:00:00 1970 +++ /usr/ports/databases/p5-DBD-mysql/files/patch-aa Sun Dec 28 00:49:50 2003 @@ -0,0 +1,23 @@ +--- lib/DBD/mysql/GetInfo.pm.orig Sun Dec 28 00:48:39 2003 ++++ lib/DBD/mysql/GetInfo.pm Sun Dec 28 00:48:45 2003 +@@ -17,7 +17,7 @@ + my $sql_driver = 'mysql'; + my $sql_ver_fmt = '%02d.%02d.%04d'; # ODBC version string: ##.##.##### + my $sql_driver_ver = do { +- no warnings; ++# no warnings; + sprintf $sql_ver_fmt, split (/./, $DBD::mysql::VERSION); + }; + +@@ -76,9 +76,9 @@ + } + + ++use vars qw(%info); + +- +-our %info = ( ++%info = ( + 20 => 'N', # SQL_ACCESSIBLE_PROCEDURES + 19 => 'Y', # SQL_ACCESSIBLE_TABLES + 0 => 0, # SQL_ACTIVE_CONNECTIONS --- p5-DBD-mysql-2.9003.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AaMUp-0000sQ-Oi>