diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-02 05:41:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-02 05:41:39 +0000 |
commit | a4036575de835600b3085b97974d0766ef7c7bc2 (patch) | |
tree | 545e8444bbb80f76c5faf48f8fef3719b931fd44 /sys-apps/kmod/files/kmod-30-configure-clang16.patch | |
parent | 1331637681273dc8391d7a7caa6175405dceb735 (diff) |
gentoo auto-resync : 02:03:2024 - 05:41:39
Diffstat (limited to 'sys-apps/kmod/files/kmod-30-configure-clang16.patch')
-rw-r--r-- | sys-apps/kmod/files/kmod-30-configure-clang16.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sys-apps/kmod/files/kmod-30-configure-clang16.patch b/sys-apps/kmod/files/kmod-30-configure-clang16.patch deleted file mode 100644 index a9e1093aecff..000000000000 --- a/sys-apps/kmod/files/kmod-30-configure-clang16.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://github.com/kmod-project/kmod/commit/035e6667d1ace2fd77ef36f5e5d93cd4b1e128a2 - -From 035e6667d1ace2fd77ef36f5e5d93cd4b1e128a2 Mon Sep 17 00:00:00 2001 -From: Florian Weimer <fweimer@redhat.com> -Date: Sat, 17 Dec 2022 17:52:34 +0100 -Subject: [PATCH] kmod: configure.ac: In _Noreturn check, include <stdlib.h> - for exit - -Otherwise, an implicit functiona declaration is used, causing -a C99 compatibility issue. - -Signed-off-by: Florian Weimer <fweimer@redhat.com> -Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com> ---- a/configure.ac -+++ b/configure.ac -@@ -68,7 +68,8 @@ AC_COMPILE_IFELSE( - - AC_MSG_CHECKING([whether _Noreturn is supported]) - AC_COMPILE_IFELSE( -- [AC_LANG_SOURCE([[_Noreturn int foo(void) { exit(0); }]])], -+ [AC_LANG_SOURCE([[#include <stdlib.h> -+ _Noreturn int foo(void) { exit(0); }]])], - [AC_DEFINE([HAVE_NORETURN], [1], [Define if _Noreturn is available]) - AC_MSG_RESULT([yes])], - [AC_MSG_RESULT([no])]) - |