void-packages/srcpkgs/alsa-lib/patches/stdint_compat.patch
q66 09ab3d0d37 alsa-lib: backport fixes for kernel sound api breakages
This fixes build of alsa-tools and possibly other things.
2020-02-04 01:48:28 +01:00

14 lines
361 B
Diff

Use stdlib.h defined types uint8_t, uint16_t, uint32_t and uint64_t
for compatibility with musl libc
--- a/include/pcm.h 2015-02-26 13:34:52.000000000 +0100
+++ a/include/pcm.h 2015-07-28 13:44:32.423885625 +0200
@@ -29,6 +29,8 @@
#ifndef __ALSA_PCM_H
#define __ALSA_PCM_H
+#include <stdint.h> /* uint_ types */
+
#ifdef __cplusplus
extern "C" {
#endif