mumble: fix build for 32 bit system

This commit is contained in:
Đoàn Trần Công Danh 2022-12-03 21:31:39 +07:00
parent 22b3dbf6e0
commit 2dbd972589
2 changed files with 13 additions and 4 deletions

View File

@ -0,0 +1,13 @@
Index: mumble-1.4.287/plugins/gtav/structs.h
===================================================================
--- mumble-1.4.287.orig/plugins/gtav/structs.h
+++ mumble-1.4.287/plugins/gtav/structs.h
@@ -121,7 +121,7 @@ struct CCameraManagerAngles {
struct CCameraAngles {
uint8_t pad1[960];
ptr_t playerAngles; // CPlayerAngles *
- uint8_t pad2[60];
+ uint8_t pad2[64]; // 64 bits system align 8 byte
};
struct CPlayerAngles {

View File

@ -25,10 +25,6 @@ checksum=378e61d5bfa58ba51bfbb645067f459214a9872da09b306f2c2c3f1902200547
build_options="jack portaudio"
build_options_default="jack portaudio"
case "$XBPS_TARGET_MACHINE" in
i686*) broken="https://build.voidlinux.org/builders/i686_builder/builds/39031/steps/shell_3/logs/stdio" ;;
esac
export CMAKE_GENERATOR="Unix Makefiles"