Ping! Attached again
-- iz (they/them) > i like to say mundane things, > there are too many uninteresting things > that go unnoticed. izder456 (dot) neocities (dot) org
diff --git Makefile Makefile index ff38e16fe..3137a1d09 100644 --- Makefile +++ Makefile @@ -3,10 +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} -DIST_TUPLE += github ClassiCube ClassiCube 1.3.6 . +DIST_TUPLE += github ClassiCube ClassiCube ${V} . CATEGORIES = games @@ -27,6 +27,9 @@ USE_GMAKE = Yes ALL_TARGET = ClassiCube +pre-configure: + @sed -i 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile + do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/classicube ${INSTALL_PROGRAM} ${WRKSRC}/ClassiCube ${PREFIX}/share/classicube/classicube_run diff --git distinfo distinfo index 4134473be..559ddbeb7 100644 --- distinfo +++ 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 patches/patch-src_Logger_c patches/patch-src_Logger_c new file mode 100644 index 000000000..ce23d4aa5 --- /dev/null +++ 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) {
pgp0paWmqpk5w.pgp
Description: OpenPGP digital signature