git: 315977f1bd5d - main - databases/mysql80-server: fix build on armv7

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Fri, 02 Dec 2022 13:14:20 UTC
The branch main has been updated by joneum:

URL: https://cgit.FreeBSD.org/ports/commit/?id=315977f1bd5da135727487a9d615963bfb7f94e7

commit 315977f1bd5da135727487a9d615963bfb7f94e7
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2022-12-02 13:12:29 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2022-12-02 13:14:14 +0000

    databases/mysql80-server: fix build on armv7
    
    PR:     267422
    Sponsored by:   Netzkommune GmbH
---
 ...er_src_harness_include_mysql_harness_net_ts_impl_kqueue_io_service.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/databases/mysql80-server/files/patch-router_src_harness_include_mysql_harness_net_ts_impl_kqueue_io_service.h b/databases/mysql80-server/files/patch-router_src_harness_include_mysql_harness_net_ts_impl_kqueue_io_service.h
index 8274f7e275ac..46d03cb9db69 100644
--- a/databases/mysql80-server/files/patch-router_src_harness_include_mysql_harness_net_ts_impl_kqueue_io_service.h
+++ b/databases/mysql80-server/files/patch-router_src_harness_include_mysql_harness_net_ts_impl_kqueue_io_service.h
@@ -7,7 +7,7 @@
 -        ts = {secs.count(),
 -              std::chrono::duration_cast<std::chrono::nanoseconds>(timeout)
 +        ts = {(time_t)secs.count(),
-+              (time_t)std::chrono::duration_cast<std::chrono::nanoseconds>(timeout)
++              (long)std::chrono::duration_cast<std::chrono::nanoseconds>(timeout)
                    .count()};
  
          p_ts = &ts;