summaryrefslogtreecommitdiff
path: root/media-libs/alsa-lib/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-28 18:57:25 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-28 18:57:25 +0000
commit7b97d94d4769a556456398d66819200655c4d76c (patch)
tree2aab1b584f3ed787c1e858dbed720266bbb31bc5 /media-libs/alsa-lib/files
parentddcaaaec485fcf5238dfbabb6df62a11e95a1f26 (diff)
gentoo auto-resync : 28:01:2024 - 18:57:25
Diffstat (limited to 'media-libs/alsa-lib/files')
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.2.8-clang16-macro.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.8-clang16-macro.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.8-clang16-macro.patch
deleted file mode 100644
index c74a7cc73e26..000000000000
--- a/media-libs/alsa-lib/files/alsa-lib-1.2.8-clang16-macro.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-https://github.com/alsa-project/alsa-lib/pull/278
-
-From 68a233404279366f7c7e34afb6197bcc70f4b7d7 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Sun, 30 Oct 2022 18:06:37 +0000
-Subject: [PATCH] utils/alsa.m4: include <stdlib.h> for exit()
-
-Clang 16 makes -Wimplicit-function-declaration an error by default
-and it's easier to just explicitly include <stdlib.h> rather
-than hope the ALSA headers always have it.
-
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/utils/alsa.m4
-+++ b/utils/alsa.m4
-@@ -85,6 +85,7 @@ AC_LANG_PUSH([C])
- AC_MSG_CHECKING([for libasound headers version >= $alsa_min_major_version.$alsa_min_minor_version.$alsa_min_micro_version ($min_alsa_version)])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #include <alsa/asoundlib.h>
-+#include <stdlib.h>
- ]], [[
- /* ensure backward compatibility */
- #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
-@@ -130,6 +131,7 @@ AC_MSG_CHECKING([for libatopology (sound headers version > 1.1.9)])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #include <alsa/asoundlib.h>
- #include <alsa/topology.h>
-+#include <stdlib.h>
- ]], [[
- /* ensure backward compatibility */
- #if !defined(SND_LIB_VERSION)
-