pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/classicube
Module Name: pkgsrc
Committed By: nia
Date: Thu May 15 07:32:01 UTC 2025
Modified Files:
pkgsrc/games/classicube: distinfo
Added Files:
pkgsrc/games/classicube/patches: patch-src_Logger.c
Log Message:
classicube: Fix build on NetBSD/sparc64
https://github.com/ClassiCube/ClassiCube/pull/1362
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/classicube/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/classicube/patches/patch-src_Logger.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/classicube/distinfo
diff -u pkgsrc/games/classicube/distinfo:1.1 pkgsrc/games/classicube/distinfo:1.2
--- pkgsrc/games/classicube/distinfo:1.1 Thu May 2 07:33:19 2024
+++ pkgsrc/games/classicube/distinfo Thu May 15 07:32:01 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2024/05/02 07:33:19 nia Exp $
+$NetBSD: distinfo,v 1.2 2025/05/15 07:32:01 nia Exp $
BLAKE2s (ClassiCube-1.3.6.tar.gz) = 395c64236e47abbb255b80e66ff4966b8e336d9ff46fbd522aac1c361ca9e3b6
SHA512 (ClassiCube-1.3.6.tar.gz) = cc5b7aca6536d2521e48bd75bc5efe0e262bf62c5bc97f5028a28a1236891a9d68678a3bf8c24492742a228f216e5492347d651b98eb63ef9cf389d3f5dcf87d
@@ -6,4 +6,5 @@ Size (ClassiCube-1.3.6.tar.gz) = 2490780
SHA1 (patch-Makefile) = ee307475f22df60845d4658cc11f5323631aa823
SHA1 (patch-src_Audio.c) = 94fceb5c5302115bf92212e703c68b631a6a531f
SHA1 (patch-src_Http__Worker.c) = 73154e84f95bbfa3f302632f3bb0c4174c7ae0ed
+SHA1 (patch-src_Logger.c) = 394ebf865a43cd1794fc92c73f750d7cb74a70be
SHA1 (patch-src_Platform__Posix.c) = 1c20474180aaedbf94d74449711566f158ec8d25
Added files:
Index: pkgsrc/games/classicube/patches/patch-src_Logger.c
diff -u /dev/null pkgsrc/games/classicube/patches/patch-src_Logger.c:1.1
--- /dev/null Thu May 15 07:32:01 2025
+++ pkgsrc/games/classicube/patches/patch-src_Logger.c Thu May 15 07:32:01 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_Logger.c,v 1.1 2025/05/15 07:32:01 nia Exp $
+
+Add support for NetBSD/sparc64.
+
+https://github.com/ClassiCube/ClassiCube/pull/1362
+
+--- src/Logger.c.orig 2025-05-15 07:30:16.059074992 +0000
++++ src/Logger.c
+@@ -672,6 +672,9 @@ static void PrintRegisters(cc_string* st
+ #define REG_GET_LR() &r->__gregs[_REG_LR]
+ #define REG_GET_CTR() &r->__gregs[_REG_CTR]
+ Dump_PPC()
++#elif defined __sparc__
++ #define REG_GET(ign, reg) &r->__gregs[_REG_##reg]
++ Dump_SPARC()
+ #elif defined __mips__
+ #define REG_GNUM(num) &r->__gregs[num]
+ #define REG_GET_PC() &r->__gregs[_REG_EPC]
Home |
Main Index |
Thread Index |
Old Index