This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install pkgconf jpeg-turbo libogg libvorbis opus opusfile sdl2 | |
| git clone --depth=1 https://github.com/ioquake/ioq3 | |
| cd ioq3/ | |
| sed -i \ | |
| -e 's/arm64;x86_64/arm64/g' \ | |
| -e 's/CMAKE_OSX_DEPLOYMENT_TARGET 11.0/CMAKE_OSX_DEPLOYMENT_TARGET 26.0/g' \ | |
| ./cmake/platforms/macos.cmake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Quake/ice/ice_mdns.c b/Quake/ice/ice_mdns.c | |
| index 3c7161e..7d3dd49 100644 | |
| --- a/Quake/ice/ice_mdns.c | |
| +++ b/Quake/ice/ice_mdns.c | |
| @@ -318,7 +318,7 @@ qboolean MDNS_Setup(struct icemodule_s *module) | |
| mbrship.imr_multiaddr.s_addr = inet_addr("224.0.0.251"); //or FF02::FB | |
| //browsers don't seem to let us take the easy route, so we can't just use our existing helpers. | |
| - mdns_socket = socket (PF_INET, SOCK_CLOEXEC|SOCK_DGRAM, IPPROTO_UDP); | |
| + mdns_socket = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| q_name="arch linux baremetal test vm" | |
| q_proc="archQEMUbare" | |
| q_cpuarg="host,hv-relaxed,hv-vapic,hv-spinlocks=0x1fff," | |
| q_cpuarg="${q_cpuarg}hv-time,hv_vapic,hv_vendor_id=0xDEADBEEFFF" | |
| q_cpucfg="sockets=1,cores=2,threads=2" | |
| q_memcfg="size=8G,slots=0,maxmem=8G" | |
| q_efifw="./fw/arch-edk2-x86_64-code.fd" |