Download raw body.
UPDATE: games/classicube to 1.3.7
On Fri, 18 Jul 2025 10:25:17 -0500
izzy Meyer <izder456@disroot.org> wrote:
> Hello ports@,
>
> This diff updates games/classicube to 1.3.7
>
> Changelog: https://github.com/ClassiCube/ClassiCube/releases/tag/1.3.7
>
> It also changes the BUILD_DEPENDS to LIB_DEPENDS as libcurl is
> dlopen'd when downloading the assets, and openal is dlopen'd for game
> audio support. IMHO they should be around at runtime too for these
> reasons. It *does* complain about LIB_DEPENDS not being needed, but
> they are. IDK how to fix this.
>
> There was a earlier thread on this, but it never got imported.
> https://marc.info/?t=172884810500002&r=1&w=2
>
> Works well on amd64 and macppc, though I don't have 3d accel on my
> powerbook so it runs a bit like crap there.
>
> Thanks.
>
Ping! (CC bentley@)
(attached the diff again)
--
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 223cf321aa1..9ae4d308a3e 100644
--- games/classicube/Makefile
+++ games/classicube/Makefile
@@ -3,11 +3,10 @@ BROKEN-sparc64 = ...error "Unknown CPU architecture"
COMMENT = classic Minecraft client written in C
-V = 1.3.6
+V = 1.3.7
PKGNAME = classicube-${V}
-REVISION = 0
-DIST_TUPLE += github ClassiCube ClassiCube 1.3.6 .
+DIST_TUPLE += github ClassiCube ClassiCube ${V} .
CATEGORIES = games
@@ -16,12 +15,13 @@ MAINTAINER = izzy Meyer <izder456@disroot.org>
# BSD
PERMIT_PACKAGE = Yes
-WANTLIB += GL X11 Xi c execinfo m pthread
+WANTLIB += GL X11 Xi c execinfo pthread
COMPILER = base-clang ports-gcc base-gcc
COMPILER_LANGS = c
-BUILD_DEPENDS = net/curl \
+# Needed for downloading assets and sound support at runtime
+LIB_DEPENDS = net/curl \
audio/openal
RUN_DEPENDS = devel/desktop-file-utils
diff --git games/classicube/distinfo games/classicube/distinfo
index 4134473be8d..559ddbeb72e 100644
--- games/classicube/distinfo
+++ games/classicube/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ClassiCube-ClassiCube-1.3.6.tar.gz) = +reA9NzwZpoPlGg8m2WW9Ay4PglyejuRqq5ek0qXQLA=
-SIZE (ClassiCube-ClassiCube-1.3.6.tar.gz) = 2490780
+SHA256 (ClassiCube-ClassiCube-1.3.7.tar.gz) = BPlusswzi4GjaoQ7fR8j3lTvU5qA0reTu+9pqpBDWF8=
+SIZE (ClassiCube-ClassiCube-1.3.7.tar.gz) = 3717504
diff --git games/classicube/patches/patch-src_Logger_c games/classicube/patches/patch-src_Logger_c
new file mode 100644
index 00000000000..ce23d4aa56e
--- /dev/null
+++ games/classicube/patches/patch-src_Logger_c
@@ -0,0 +1,12 @@
+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 <execinfo.h>
+
+ void Logger_Backtrace(cc_string* trace, void* ctx) {
UPDATE: games/classicube to 1.3.7