[update] net/toxcore 0.2.19 -> 0.2.23

Daniil Ryvkin <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
Update toxcore to latest version

Tested on openbsd-current(amd64) with toxic
toxcore0223.diff (text/plain, 2 KB)
Index: net/toxcore/Makefile
===================================================================
RCS file: /cvs/ports/net/toxcore/Makefile,v
diff -u -p -u -r1.16 Makefile
--- net/toxcore/Makefile	28 Jan 2025 14:38:29 -0000	1.16
+++ net/toxcore/Makefile	7 Aug 2026 07:05:10 -0000
@@ -1,11 +1,13 @@
 COMMENT =		Tox client library
 
-V =			0.2.19
+V =			0.2.23
 DISTNAME =		c-toxcore-$V
 PKGNAME =		${DISTNAME:S/c-//}
-REVISION =		0
 
-SHARED_LIBS +=		toxcore	4.0
+DISTFILES =		c-toxcore-v$V.tar.gz
+WRKDIST =		${WRKDIR}
+
+SHARED_LIBS +=		toxcore	4.1
 
 CATEGORIES =		net telephony
 
@@ -23,6 +25,10 @@ WANTLIB = c config m opus pthread sodium
 MODULES =		devel/cmake
 # c++ in tests
 COMPILER =		base-clang ports-gcc
+
+# most tox clients need tox_private.h, including net/toxic, the only
+# one currently in the ports tree
+CONFIGURE_ARGS =	-DEXPERIMENTAL_API=ON
 
 BUILD_DEPENDS =		devel/gtest
 
Index: net/toxcore/distinfo
===================================================================
RCS file: /cvs/ports/net/toxcore/distinfo,v
diff -u -p -u -r1.7 distinfo
--- net/toxcore/distinfo	18 Oct 2024 08:05:52 -0000	1.7
+++ net/toxcore/distinfo	7 Aug 2026 07:05:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (c-toxcore-0.2.19.tar.gz) = i0GPZHDbCFz1mpkVaFYTVWVW3yv0JxSPGBS3sRhihZQ=
-SIZE (c-toxcore-0.2.19.tar.gz) = 860531
+SHA256 (c-toxcore-v0.2.23.tar.gz) = Fc3QBu13k9/GV+NA758hj2Y30v5bEwcE05uWE4m7bNY=
+SIZE (c-toxcore-v0.2.23.tar.gz) = 1415886
Index: net/toxcore/pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
diff -u -p -u -r1.4 PLIST
--- net/toxcore/pkg/PLIST	8 Mar 2022 08:20:13 -0000	1.4
+++ net/toxcore/pkg/PLIST	7 Aug 2026 07:05:10 -0000
@@ -2,8 +2,12 @@
 @bin bin/tox-bootstrapd
 include/tox/
 include/tox/tox.h
+include/tox/tox_attributes.h
 include/tox/tox_dispatch.h
 include/tox/tox_events.h
+include/tox/tox_log_level.h
+include/tox/tox_options.h
+include/tox/tox_private.h
 include/tox/toxav.h
 include/tox/toxencryptsave.h
 @static-lib lib/libtoxcore.a
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.