ports/60638: [PATCH] databases/p5-DBD-mysql: make full functionality with perl 5.005

Sergey Matveychuk sem at ciam.ru
Sat Dec 27 22:10:24 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list