diff options
Diffstat (limited to 'testing/ttaenc/fix-musl.patch')
-rw-r--r-- | testing/ttaenc/fix-musl.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/ttaenc/fix-musl.patch b/testing/ttaenc/fix-musl.patch new file mode 100644 index 0000000000..2be6bb486f --- /dev/null +++ b/testing/ttaenc/fix-musl.patch @@ -0,0 +1,17 @@ +--- ttaenc-3.4.1-src/ttaenc.h.orig ++++ ttaenc-3.4.1-src/ttaenc.h +@@ -101,8 +101,13 @@ + typedef unsigned __int32 uint32; + typedef unsigned __int64 uint64; + #else ++#if __GLIBC__ + typedef __uint32_t uint32; + typedef __uint64_t uint64; ++#else ++typedef uint32_t uint32; ++typedef uint64_t uint64; ++#endif + #endif + + #define PREDICTOR1(x, k) ((int)((((uint64)x << k) - x) >> k)) + |