Date: Thu, 29 Feb 2024 06:02:23 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: c349ccad9d50 - 2024Q1 - net/libsockpp: Update to 1.0.0, add patches to fix build on i386 Message-ID: <202402290602.41T62Nqt073364@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=c349ccad9d50295a1c9cacb1a0b55573448aa5ab commit c349ccad9d50295a1c9cacb1a0b55573448aa5ab Author: Peter TKATCHENKO <peter@flytrace.com> AuthorDate: 2024-01-02 13:22:00 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-02-29 06:01:19 +0000 net/libsockpp: Update to 1.0.0, add patches to fix build on i386 (cherry picked from commit 63e8a0841f2d65f54e0dddf4ed8706e105723e2a) --- net/libsockpp/Makefile | 2 +- net/libsockpp/distinfo | 6 +++--- net/libsockpp/files/patch-examples_udp_udpechosvr.cpp | 11 +++++++++++ net/libsockpp/files/patch-examples_unix_undgramechosvr.cpp | 11 +++++++++++ net/libsockpp/pkg-plist | 4 ++-- 5 files changed, 28 insertions(+), 6 deletions(-) diff --git a/net/libsockpp/Makefile b/net/libsockpp/Makefile index d392e8895a7f..952773341f02 100644 --- a/net/libsockpp/Makefile +++ b/net/libsockpp/Makefile @@ -1,6 +1,6 @@ PORTNAME= libsockpp DISTVERSIONPREFIX= v -DISTVERSION= 0.8.3 +DISTVERSION= 1.0.0 CATEGORIES= net devel MAINTAINER= peter@flytrace.com diff --git a/net/libsockpp/distinfo b/net/libsockpp/distinfo index 717373a94d5f..359e4bcfc88c 100644 --- a/net/libsockpp/distinfo +++ b/net/libsockpp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1702498061 -SHA256 (fpagliughi-sockpp-v0.8.3_GH0.tar.gz) = dcacfae173ae4a1e535078d3023d338c3eb170193fe1b82bc04138e9c02470ef -SIZE (fpagliughi-sockpp-v0.8.3_GH0.tar.gz) = 115393 +TIMESTAMP = 1704200820 +SHA256 (fpagliughi-sockpp-v1.0.0_GH0.tar.gz) = 818477fae6eb29b9daacef71a3d0c494de9e48f6fd267a7fc5a4c332db211bc5 +SIZE (fpagliughi-sockpp-v1.0.0_GH0.tar.gz) = 114358 diff --git a/net/libsockpp/files/patch-examples_udp_udpechosvr.cpp b/net/libsockpp/files/patch-examples_udp_udpechosvr.cpp new file mode 100644 index 000000000000..027e3ae5fc13 --- /dev/null +++ b/net/libsockpp/files/patch-examples_udp_udpechosvr.cpp @@ -0,0 +1,11 @@ +--- examples/udp/udpechosvr.cpp.orig 2023-12-17 20:26:10 UTC ++++ examples/udp/udpechosvr.cpp +@@ -72,7 +72,7 @@ void run_echo(UDPSOCK sock) + // Read some data, also getting the address of the sender, + // then just send it back. + while ((n = sock.recv_from(buf, sizeof(buf), &srcAddr)) > 0) +- sock.send_to(buf, n, srcAddr); ++ sock.send_to((void*)buf, n, srcAddr); + } + + // -------------------------------------------------------------------------- diff --git a/net/libsockpp/files/patch-examples_unix_undgramechosvr.cpp b/net/libsockpp/files/patch-examples_unix_undgramechosvr.cpp new file mode 100644 index 000000000000..86a52cc5bd55 --- /dev/null +++ b/net/libsockpp/files/patch-examples_unix_undgramechosvr.cpp @@ -0,0 +1,11 @@ +--- examples/unix/undgramechosvr.cpp.orig 2023-12-17 20:26:10 UTC ++++ examples/unix/undgramechosvr.cpp +@@ -86,7 +86,7 @@ int main(int argc, char* argv[]) + // Read some data, also getting the address of the sender, + // then just send it back. + while ((n = sock.recv_from(buf, sizeof(buf), &srcAddr)) > 0) +- sock.send_to(buf, n, srcAddr); ++ sock.send_to((void*)buf, n, srcAddr); + + return 0; + } diff --git a/net/libsockpp/pkg-plist b/net/libsockpp/pkg-plist index 3c95fae59d19..8ca20b5414e6 100644 --- a/net/libsockpp/pkg-plist +++ b/net/libsockpp/pkg-plist @@ -32,5 +32,5 @@ lib/cmake/sockpp/sockppTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/sockpp/sockppTargets.cmake %%STATIC%%lib/libsockpp.a lib/libsockpp.so -lib/libsockpp.so.0 -lib/libsockpp.so.0.8.3 +lib/libsockpp.so.1 +lib/libsockpp.so.1.0.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402290602.41T62Nqt073364>