You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/ttaenc/files/ttaenc-3.4.1-fix-musl.patch

23 lines
467 B

https://bugs.gentoo.org/646188
--- a/ttaenc.h
+++ b/ttaenc.h
@@ -41,6 +41,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <stdint.h>
#endif
#ifdef _MSC
@@ -101,8 +102,8 @@
typedef unsigned __int32 uint32;
typedef unsigned __int64 uint64;
#else
-typedef __uint32_t uint32;
-typedef __uint64_t uint64;
+typedef uint32_t uint32;
+typedef uint64_t uint64;
#endif
#define PREDICTOR1(x, k) ((int)((((uint64)x << k) - x) >> k))