gentoo-ebuilds/media-sound/alacenc/files/alacenc-0.4.1-musl.patch
Philipp Rösner 1dc7dbdc6d
media-sound/alacenc: add 0.4.1
- remove uint fix from patch, as it was fixed upstream

Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41571
Closes: https://github.com/gentoo/gentoo/pull/41571
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-21 22:53:08 +01:00

17 lines
494 B
Diff

# Include endian.h because otherwise constants like BYTE_ORDER,
# LITTLE_ENDIAN or BIG_ENDIAN as well as functions like
# toBigEndian are missing when building with musl.
# On glibc these symbols are present without including
# endian.h, however including it anyway is fine.
#
# Related bug: https://bugs.gentoo.org/927902
--- a/types.h
+++ b/types.h
@@ -40,6 +40,7 @@
#include <fstream>
#include <array>
#include <cstdint>
+#include <endian.h>
class Error : public std::runtime_error
{