[packages/perl-DBD-mysql] - up to 4.050

arekm arekm at pld-linux.org
Thu Feb 21 09:10:57 CET 2019


commit fa00c0de238e29b239a7d87940df66c0328fa213
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Feb 21 09:10:50 2019 +0100

    - up to 4.050

 headers.patch       | 18 ++++--------------
 perl-DBD-mysql.spec |  7 ++++---
 2 files changed, 8 insertions(+), 17 deletions(-)
---
diff --git a/perl-DBD-mysql.spec b/perl-DBD-mysql.spec
index a6f3db3..e3d1bba 100644
--- a/perl-DBD-mysql.spec
+++ b/perl-DBD-mysql.spec
@@ -24,17 +24,18 @@ Summary(sv.UTF-8):	Ett gränssnitt till MySQL för Perl
 Summary(uk.UTF-8):	Perl-інтерфейс до MySQL
 Summary(zh_CN.UTF-8):	Perl 的 MySQL 界面。
 Name:		perl-DBD-mysql
-Version:	4.046
-Release:	4
+Version:	4.050
+Release:	1
 # NOTE: libmysqlclient infects everything that links against it with GPL
 License:	GPL (Perl code also Artistic)
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/DBD/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	bdf4f4d899b8af29ebd8ebfb7438d05f
+# Source0-md5:	29b1f61321d0892885ccfd0e7bc07f7f
 Patch0:		headers.patch
 URL:		http://search.cpan.org/dist/DBD-mysql/
 BuildRequires:	mysql-devel >= 5.0.27
 BuildRequires:	perl-DBI >= 1.13
+BuildRequires:	perl-Devel-CheckLib
 %if %{with tests}
 BuildRequires:	perl-Test-Deep
 BuildRequires:	perl-Test-Simple
diff --git a/headers.patch b/headers.patch
index 21e9d73..c680559 100644
--- a/headers.patch
+++ b/headers.patch
@@ -1,22 +1,12 @@
---- DBD-mysql-4.036/dbdimp.h~	2016-09-19 18:58:49.000000000 +0300
-+++ DBD-mysql-4.036/dbdimp.h	2016-09-19 18:59:57.509789300 +0300
-@@ -24,6 +24,9 @@
- #include <errmsg.h> /* Comes with MySQL-devel */
- #include <stdint.h> /* For int32_t */
- 
-+#define is_prefix mysql_is_prefix      /* namespace sanity */
-+extern int is_prefix(const char *, const char *);
-+
- /* For now, we hardcode this, but in the future,
-  * we can detect capabilities of the MySQL libraries
-  * we're talking to */
-@@ -353,6 +355,9 @@
+--- DBD-mysql-4.050/dbdimp.h~	2019-01-08 20:26:37.000000000 +0100
++++ DBD-mysql-4.050/dbdimp.h	2019-02-21 09:06:19.065840598 +0100
+@@ -413,6 +413,9 @@ extern MYSQL* mysql_dr_connect(SV*, MYSQ
  
  extern int mysql_db_reconnect(SV*);
  int mysql_st_free_result_sets (SV * sth, imp_sth_t * imp_sth);
 +#if MYSQL_VERSION_ID >= MULTIPLE_RESULT_SET_VERSION
 +int dbd_st_more_results(SV* sth, imp_sth_t* imp_sth);
 +#endif
- #if MYSQL_ASYNC
  int mysql_db_async_result(SV* h, MYSQL_RES** resp);
  int mysql_db_async_ready(SV* h);
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-DBD-mysql.git/commitdiff/fa00c0de238e29b239a7d87940df66c0328fa213



More information about the pld-cvs-commit mailing list