Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2024 09:28:00 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5ab897ad732a - main - www/dpp: update 10.0.29 =?utf-8?Q?=E2=86=92?= 10.0.35
Message-ID:  <202411070928.4A79S0SU072092@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 5ab897ad732aa4d6d4fc63c409b511bb54d777ca
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-07 07:19:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-07 09:27:52 +0000

    www/dpp: update 10.0.29 → 10.0.35
---
 www/dpp/Makefile                                             | 10 ++++++----
 www/dpp/distinfo                                             |  6 +++---
 .../patch-src_dpp_dave_persisted__key__pair__generic.cpp     | 12 ++++++++++++
 www/dpp/pkg-plist                                            |  5 ++++-
 4 files changed, 25 insertions(+), 8 deletions(-)

diff --git a/www/dpp/Makefile b/www/dpp/Makefile
index 631f896b3843..11dabaab9045 100644
--- a/www/dpp/Makefile
+++ b/www/dpp/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	dpp
-DISTVERSION=	10.0.29
-PORTREVISION=	1
+DISTVERSION=	10.0.35
 CATEGORIES=	www devel
 MASTER_SITES=	https://github.com/brainboxdotcc/DPP/releases/download/v${DISTVERSION}/
 PKGNAMESUFFIX=	-discord
@@ -8,7 +7,8 @@ DISTNAME=	DPP-${DISTVERSION}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	C++ Discord API bot library
-WWW=		https://dpp.dev/
+WWW=		https://dpp.dev/ \
+		https://github.com/brainboxdotcc/DPP
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -20,10 +20,12 @@ RUN_DEPENDS=	nlohmann-json>0:devel/nlohmann-json
 
 USES=		cmake:testing compiler:c++20-lang localbase ssl
 
-CMAKE_ON=	DPP_USE_EXTERNAL_JSON DPP_NO_VCPKG
+CMAKE_ON=	DPP_USE_EXTERNAL_JSON \
+		DPP_NO_VCPKG
 CMAKE_ON+=	DPP_CORO # experimental support for C++20 coroutines
 CMAKE_OFF=	RUN_LDCONFIG DPP_BUILD_TEST
 CMAKE_TESTING_ON=	DPP_BUILD_TEST
+CXXFLAGS+=	-DDPP_USE_EXTERNAL_JSON # workaround for https://github.com/brainboxdotcc/DPP/issues/1324
 
 MAKE_ENV=	TEST_DATA_DIR=${WRKSRC}/testdata/ # only for tests
 
diff --git a/www/dpp/distinfo b/www/dpp/distinfo
index c19e9667f3fb..800f6b6f8e10 100644
--- a/www/dpp/distinfo
+++ b/www/dpp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1704840621
-SHA256 (DPP-10.0.29.tar.gz) = a37e91fbdabee20cb0313700588db4077abf0ebabafe386457d999d22d2d0682
-SIZE (DPP-10.0.29.tar.gz) = 15560520
+TIMESTAMP = 1730957989
+SHA256 (DPP-10.0.35.tar.gz) = 46efde92ec6aba7f3e2b7ad17af2ffa4a18fc0bf3b3566a03f7131784ff7fdc8
+SIZE (DPP-10.0.35.tar.gz) = 17864921
diff --git a/www/dpp/files/patch-src_dpp_dave_persisted__key__pair__generic.cpp b/www/dpp/files/patch-src_dpp_dave_persisted__key__pair__generic.cpp
new file mode 100644
index 000000000000..5e75062a66fa
--- /dev/null
+++ b/www/dpp/files/patch-src_dpp_dave_persisted__key__pair__generic.cpp
@@ -0,0 +1,12 @@
+- workaround for https://github.com/brainboxdotcc/DPP/issues/1323
+
+--- src/dpp/dave/persisted_key_pair_generic.cpp.orig	2024-11-07 05:49:41 UTC
++++ src/dpp/dave/persisted_key_pair_generic.cpp
+@@ -38,6 +38,7 @@
+ #include <bytes/bytes.h>
+ #include <mls/crypto.h>
+ #include <dpp/cluster.h>
++#include <sys/stat.h>
+ #include "parameters.h"
+ #include "persisted_key_pair.h"
+ 
diff --git a/www/dpp/pkg-plist b/www/dpp/pkg-plist
index c61fa5f5eaeb..d98c50a6ac6c 100644
--- a/www/dpp/pkg-plist
+++ b/www/dpp/pkg-plist
@@ -3,6 +3,7 @@ include/dpp/application.h
 include/dpp/auditlog.h
 include/dpp/automod.h
 include/dpp/ban.h
+include/dpp/bignum.h
 include/dpp/cache.h
 include/dpp/channel.h
 include/dpp/cluster.h
@@ -13,6 +14,7 @@ include/dpp/colors.h
 include/dpp/commandhandler.h
 include/dpp/coro.h
 include/dpp/coro/async.h
+include/dpp/coro/awaitable.h
 include/dpp/coro/coro.h
 include/dpp/coro/coroutine.h
 include/dpp/coro/job.h
@@ -41,6 +43,7 @@ include/dpp/isa/avx.h
 include/dpp/isa/avx2.h
 include/dpp/isa/avx512.h
 include/dpp/isa/fallback.h
+include/dpp/isa/neon.h
 include/dpp/isa_detection.h
 include/dpp/json.h
 include/dpp/json_fwd.h
@@ -82,5 +85,5 @@ lib/cmake/dpp/dpp-config.cmake
 lib/cmake/dpp/dpp-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/dpp/dpp.cmake
 lib/libdpp.so
-lib/libdpp.so.10.0.29
+lib/libdpp.so.10.0.35
 libdata/pkgconfig/dpp.pc



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