On 2026/05/25 16:28, Christian Weisgerber wrote:
> databases/p5-DBD-mysql              giovanni@

this version no longer trips the warning in llvm19 that turned into an
error by 22. the local fix was incorpprated upstream. ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/p5-DBD-mysql/Makefile,v
diff -u -p -r1.58 Makefile
--- Makefile    31 Mar 2022 13:58:01 -0000      1.58
+++ Makefile    25 May 2026 21:46:51 -0000
@@ -1,6 +1,5 @@
 COMMENT=               MySQL drivers for the Perl DBI
-DISTNAME=              DBD-mysql-4.050
-REVISION=              1
+DISTNAME=              DBD-mysql-4.055
 
 CATEGORIES=            databases
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/p5-DBD-mysql/distinfo,v
diff -u -p -r1.29 distinfo
--- distinfo    29 Jan 2019 18:08:40 -0000      1.29
+++ distinfo    25 May 2026 21:46:51 -0000
@@ -1,2 +1,2 @@
-SHA256 (DBD-mysql-4.050.tar.gz) = T0hUH/FaCnQF92rcEPgWJ8M5lvv1bJXCbAlERMCSjXg=
-SIZE (DBD-mysql-4.050.tar.gz) = 161579
+SHA256 (DBD-mysql-4.055.tar.gz) = +tokxNNrwon2I48ndGf6A398r+mhe0yQ/cWiSjbbXLw=
+SIZE (DBD-mysql-4.055.tar.gz) = 163339
Index: patches/patch-dbdimp_c
===================================================================
RCS file: patches/patch-dbdimp_c
diff -N patches/patch-dbdimp_c
--- patches/patch-dbdimp_c      11 Mar 2022 18:31:28 -0000      1.5
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,32 +0,0 @@
-backport fix for issue 
-https://github.com/perl5-dbi/DBD-mysql/issues/78
-
-Index: dbdimp.c
---- dbdimp.c.orig
-+++ dbdimp.c
-@@ -4447,8 +4447,7 @@ process:
-           if (!(fields[i].flags & ZEROFILL_FLAG))
-           {
-             /* Coerce to double and set scalar as NV */
--            (void) SvNV(sv);
--            SvNOK_only(sv);
-+            sv_setnv(sv, SvNV(sv));
-           }
-           break;
- 
-@@ -4459,13 +4458,11 @@ process:
-             /* Coerce to integer and set scalar as UV resp. IV */
-             if (fields[i].flags & UNSIGNED_FLAG)
-             {
--              (void) SvUV(sv);
--              SvIOK_only_UV(sv);
-+              sv_setuv(sv, SvUV(sv));
-             }
-             else
-             {
--              (void) SvIV(sv);
--              SvIOK_only(sv);
-+              sv_setiv(sv, SvIV(sv));
-             }
-           }
-           break;
Index: patches/patch-t_10connect_t
===================================================================
RCS file: /cvs/ports/databases/p5-DBD-mysql/patches/patch-t_10connect_t,v
diff -u -p -r1.2 patch-t_10connect_t
--- patches/patch-t_10connect_t 11 Mar 2022 18:31:28 -0000      1.2
+++ patches/patch-t_10connect_t 25 May 2026 21:46:51 -0000
@@ -1,7 +1,7 @@
 Index: t/10connect.t
 --- t/10connect.t.orig
 +++ t/10connect.t
-@@ -71,7 +70,9 @@ ok($dbh->disconnect(), 'Disconnected');
+@@ -73,7 +73,9 @@ ok( ! $dbh->ping(), 'dbh is disconnected and did not s
  eval {$dbh= DBI->connect($test_dsn, $test_user, $test_password,
     { RaiseError => 1, PrintError => 1, AutoCommit => 0,
       Username => '4yZ73s9qeECdWi', Password => '64heUGwAsVoNqo' });};
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/p5-DBD-mysql/pkg/PLIST,v
diff -u -p -r1.12 PLIST
--- pkg/PLIST   11 Mar 2022 18:31:28 -0000      1.12
+++ pkg/PLIST   25 May 2026 21:46:51 -0000
@@ -6,7 +6,7 @@ ${P5ARCH}/DBD/mysql/GetInfo.pm
 @comment ${P5ARCH}/DBD/mysql/INSTALL.pod
 ${P5ARCH}/auto/DBD/
 ${P5ARCH}/auto/DBD/mysql/
-${P5ARCH}/auto/DBD/mysql/mysql.so
+@so ${P5ARCH}/auto/DBD/mysql/mysql.so
 @man man/man3p/Bundle::DBD::mysql.3p
 @man man/man3p/DBD::mysql.3p
 @man man/man3p/DBD::mysql::INSTALL.3p

Reply via email to