mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mumble: fix build for 32 bit system
This commit is contained in:
parent
22b3dbf6e0
commit
2dbd972589
2 changed files with 13 additions and 4 deletions
13
srcpkgs/mumble/patches/struct-padding.patch
Normal file
13
srcpkgs/mumble/patches/struct-padding.patch
Normal 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 {
|
|
@ -25,10 +25,6 @@ checksum=378e61d5bfa58ba51bfbb645067f459214a9872da09b306f2c2c3f1902200547
|
||||||
build_options="jack portaudio"
|
build_options="jack portaudio"
|
||||||
build_options_default="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"
|
export CMAKE_GENERATOR="Unix Makefiles"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue