RetroArch/deps
Jesse Talavera-Greenberg cbf49a0b77
XDelta patch support (Take 2) (#15915)
* Add xdelta in deps

* Include <assert.h> in xdelta3.h

- Otherwise the static_assert calls can fail

* Build xdelta3 in Makefile.common

* Add xdelta support to the softpatching infrastructure

- The patching itself isn't fully implemented yet

* Adjust how xdelta3.h checks the sizes of some types

- Now checks max values instead of relying on autotools

* Add some enums that were excluded by the cherry-pick

* Remove stray whitespace

* Adjust SIZE macros in xdelta3.h

- Move them outside the XD3_USE_LARGEFILE64 block
- Add more SIZE declarations
- Make SIZEOF_UNSIGNED_LONG_LONG contingent on the presence of ULLONG_MAX

* Reintegrate xdelta support

* Enable support for xdelta's secondary compressors

- Necessary for some patches

* Fix some format specifiers

* Remove unnecessary files from xdelta

* Include xdelta3.h with a relative path

* Add xdelta3 headers to HEADERS variable

* Gate Xdelta support behind HAVE_XDELTA

- HAVE_XDELTA is on by default
- HAVE_PATCH is still required for HAVE_XDELTA to be meaningful
- Support is mostly contingent on the availability of LZMA
- Anything modern should be okay
- Legacy platforms (e.g. DOS) may need to have Xdelta support disabled
- At least until some other solution can be found

* Disable HAVE_XDELTA on platforms where the build recently failed

- These come from looking at the failed builds on GitHub
- These are guesses, and may turn out to be wrong

* Fix a potential memory leak

- Whoops, looks like I need to call two cleanup functions
- xd3_close_stream exists separately from xd3_free_stream

* Split the --help printout for --xdelta into its own strlcat call

- GCC was complaining about #ifdefs within macro arguments being non-portable

* Fix some incorrect printf format specifiers

* Modify Xdelta to adhere to C89

- It's mostly using RetroArch's INLINE macro instead of the inline keyword

* Slight cleanups

* Remove a stray comma that was hindering C89 builds

* Add XDelta support to CHANGES.md

* Change how the xdelta patch's name is computed

- To be in line with other recent refactoring

* Fix an incorrect merge

- Whoops, this part was from before I figured out how to get the size of a patched file

* Explain the song-and-dance behind computing a patched file's size

* Define some XDelta3-related constants to 0 on 32-bit platforms

* Adjust some Xdelta-related macro definitions

- Exclude the encoder, since we're not making patches
- Move some #defines to after inclusion of <stdint.h>, to fix undefined behavior
- Remove _WIN32_WINNT overrides, since they were for code that we're not using

* Fix Xdelta support

* Wrap an encoder-only function in `#if XD3_ENCODER`
2023-11-23 20:19:07 -08:00
..
7zip Fix function declaration without a prototype warnings 2023-05-29 15:34:37 +02:00
Pigs-In-A-Blanket (PIA) Fix warning 2022-08-05 15:27:55 +02:00
SPIRV-Cross (SPIRV-Cross) Some WiiU buildfixes 2023-01-20 18:28:17 +01:00
bearssl-0.6 Add BearSSL as a vendored dependency 2020-09-19 00:31:20 +02:00
discord-rpc * Remove more strlcat calls 2023-06-20 17:43:33 +02:00
dr Fix several warnings 2023-07-02 05:46:45 +02:00
feralgamemode (feralgamemode) Cleanups - get rid of fprintfs 2022-04-25 18:14:31 +02:00
glslang (glslang) Go back to prior code 2022-08-12 21:49:42 +02:00
ibxm ibxm: update to 20191214 2020-11-21 20:30:19 +00:00
libFLAC Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
libShake OpenDingux: Add rumble support 2020-11-17 16:13:37 +00:00
libfat WIIU: Clean up a bunch of compiler warnings 2021-09-25 13:25:39 -07:00
libgo2 Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
libiosuhax deps/libiosuhax: Update to wiiu-env/libiosuhax@69532cf 2021-07-18 22:33:06 +10:00
libvita2d Vita: Fix scaling on PSTV when not using 720p 2021-05-29 19:05:35 +02:00
libz (libz) Clang does not like this at all - warning: possible misuse of comma operator here [-Wcomma] 2021-08-12 19:00:59 +02:00
lua Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
mbedtls (mbedtls) Silence warnings 2022-03-31 15:28:49 +02:00
peglib Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0 2020-07-05 11:43:47 +02:00
rcheevos (cheevos) use rc_client for state management (#15912) 2023-11-15 13:18:20 -08:00
stb Fix some warnings - values written to variables never read 2021-02-10 00:49:41 +01:00
switchres [CRT] Update switchres (new PR) (#15526) 2023-07-28 01:39:39 +02:00
wayland-protocols (Wayland) wp_viewporter + scaling fix (#15176) 2023-04-10 06:29:41 +01:00
xdelta3 XDelta patch support (Take 2) (#15915) 2023-11-23 20:19:07 -08:00
xxHash [ORBIS] Update xxHash dependecy 2022-05-21 17:10:36 +02:00
yxml (YXML) Buildfix 2021-11-05 01:24:13 +01:00