From: izzy Meyer Subject: UPDATE (from maintainer): games/classicube -> 1.3.8 To: ports@openbsd.org Date: Fri, 13 Mar 2026 09:35:00 -0500 Hello ports@ Here's a relatively small update of classicube to 1.3.8 Found a small hiccup regarding LibreSSL that needed a backport patch for our port, but this should be sufficient for now: https://github.com/ClassiCube/ClassiCube/issues/1520 Release notes on their GitHub page: https://github.com/ClassiCube/ClassiCube/releases/tag/1.3.8 Could I get OKs? Thanks, -- iz (she/her) > i like to say mundane things, > there are too many uninteresting things > that go unnoticed. izder456 (dot) neocities (dot) org diff --git games/classicube/Makefile games/classicube/Makefile index 223eb219d61..80ee3657987 100644 --- games/classicube/Makefile +++ games/classicube/Makefile @@ -3,7 +3,7 @@ BROKEN-sparc64 = ...error "Unknown CPU architecture" COMMENT = classic Minecraft client written in C -V = 1.3.7 +V = 1.3.8 PKGNAME = classicube-${V} DIST_TUPLE += github ClassiCube ClassiCube ${V} . @@ -20,7 +20,7 @@ WANTLIB += GL X11 Xi c execinfo pthread # dlopen'd WANTLIB += openal curl -FIX_CRLF_FILES = src/Logger.c +FIX_CRLF_FILES = src/Certs.c COMPILER = base-clang ports-gcc base-gcc COMPILER_LANGS = c diff --git games/classicube/distinfo games/classicube/distinfo index 559ddbeb72e..d4423aed8d6 100644 --- games/classicube/distinfo +++ games/classicube/distinfo @@ -1,2 +1,2 @@ -SHA256 (ClassiCube-ClassiCube-1.3.7.tar.gz) = BPlusswzi4GjaoQ7fR8j3lTvU5qA0reTu+9pqpBDWF8= -SIZE (ClassiCube-ClassiCube-1.3.7.tar.gz) = 3717504 +SHA256 (ClassiCube-ClassiCube-1.3.8.tar.gz) = NSk6zx5juuyoMt7CUSKD8pdced34DMhVoSwQRkcjpsQ= +SIZE (ClassiCube-ClassiCube-1.3.8.tar.gz) = 3619343 diff --git games/classicube/patches/patch-src_Certs_c games/classicube/patches/patch-src_Certs_c new file mode 100644 index 00000000000..2545a438e88 --- /dev/null +++ games/classicube/patches/patch-src_Certs_c @@ -0,0 +1,17 @@ +Index: src/Certs.c +--- src/Certs.c.orig ++++ src/Certs.c +@@ -97,6 +97,13 @@ static const cc_string cryptoLib = String_FromConst("l + static const cc_string cryptoAlt = String_FromConst("libcrypto.so.3"); + #endif + ++#ifdef CC_BUILD_OPENBSD ++ /* OpenBSD usually uses LibreSSL instead of OpenSSL, which didn't rename these symbols */ ++ #define OPENSSL_sk_new_null sk_new_null ++ #define OPENSSL_sk_push sk_push ++ #define OPENSSL_sk_pop_free sk_pop_free ++#endif ++ + static X509_STORE* store; + static cc_bool ossl_loaded; + diff --git games/classicube/patches/patch-src_Logger_c games/classicube/patches/patch-src_Logger_c deleted file mode 100644 index eca4090ffcb..00000000000 --- games/classicube/patches/patch-src_Logger_c +++ /dev/null @@ -1,12 +0,0 @@ -Index: src/Logger.c ---- src/Logger.c.orig -+++ src/Logger.c -@@ -403,7 +403,7 @@ void Logger_Backtrace(cc_string* trace, void* ctx) { - } - #elif defined CC_BACKTRACE_BUILTIN - /* Implemented later at end of the file */ --#elif defined CC_BUILD_POSIX && defined _GLIBC_ -+#elif defined CC_BUILD_POSIX && (defined _GLIBC_ || defined CC_BUILD_OPENBSD) - #include - - void Logger_Backtrace(cc_string* trace, void* ctx) {