void-packages/srcpkgs/opencolorio/patches/musl.patch

14 lines
357 B
Diff

--- a/src/utils/NumberUtils.h 2022-06-02 02:35:53.000000000 +0200
+++ - 2022-08-21 21:37:36.557414889 +0200
@@ -10,6 +10,10 @@
#define really_inline inline __attribute__((always_inline))
#endif
+#if !defined(__GLIBC__)
+#define strtol_l(ptr, end, base, l) strtol(ptr, end, base)
+#endif
+
#include <cstdlib>
#include <locale>
#include <system_error>