Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2023 04:38:27 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: a77623c16760 - 2023Q1 - devel/bossa: fix the build with clang-15
Message-ID:  <202302130438.31D4cRGA039457@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2023Q1 has been updated by kevans:

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

commit a77623c1676096e4c728168643f78e1921fe929e
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2023-02-13 04:16:13 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2023-02-13 04:38:18 +0000

    devel/bossa: fix the build with clang-15
    
    Using `move()` without qualifying it now throws a warning about an
    unqualified call to 'std::move', despite any prior `using` declaration;
    prefix it appropriately.
    
    MFH:            2023Q1
    (cherry picked from commit a3ba5254df09a7c732c91a5b75ea2f075c4b3ce8)
---
 devel/bossa/files/patch-src_Samba.cpp | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/devel/bossa/files/patch-src_Samba.cpp b/devel/bossa/files/patch-src_Samba.cpp
new file mode 100644
index 000000000000..1144c75c3c03
--- /dev/null
+++ b/devel/bossa/files/patch-src_Samba.cpp
@@ -0,0 +1,11 @@
+--- src/Samba.cpp.orig	2023-02-13 04:05:19 UTC
++++ src/Samba.cpp
+@@ -141,7 +141,7 @@ Samba::connect(SerialPort::Ptr port, int bps)
+ bool
+ Samba::connect(SerialPort::Ptr port, int bps)
+ {
+-    _port = move(port);
++    _port = std::move(port);
+ 
+     // Try to connect at a high speed if USB
+     _isUsb = _port->isUsb();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302130438.31D4cRGA039457>