diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-11-03 10:43:26 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-03 11:51:14 -0300 |
commit | 632e17fd31a4f56e1e988daa0c9256c0c1647dd1 (patch) | |
tree | 10abae033f3f78522ac91ec18ab517269c54279b /testing/ttaenc/fix-musl.patch | |
parent | 7d22789fc3d90946ef9dea35220c21e58d5629e7 (diff) | |
download | aports-632e17fd31a4f56e1e988daa0c9256c0c1647dd1.tar.bz2 aports-632e17fd31a4f56e1e988daa0c9256c0c1647dd1.tar.xz |
testing/ttaenc: new aport
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)) + |