diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-12 09:56:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-12 09:56:54 +0000 |
commit | ebc282ef4dfa408accac685565b8ee5f6faec119 (patch) | |
tree | c0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /net-analyzer/rrdtool/files | |
parent | 6c8694a707151d59555b0e4e48235f085ce166c3 (diff) |
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'net-analyzer/rrdtool/files')
-rw-r--r-- | net-analyzer/rrdtool/files/rrdtool-1.8.0-configure-clang16.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-analyzer/rrdtool/files/rrdtool-1.8.0-configure-clang16.patch b/net-analyzer/rrdtool/files/rrdtool-1.8.0-configure-clang16.patch new file mode 100644 index 000000000000..355436cb82f2 --- /dev/null +++ b/net-analyzer/rrdtool/files/rrdtool-1.8.0-configure-clang16.patch @@ -0,0 +1,34 @@ +https://github.com/oetiker/rrdtool-1.x/commit/f3334fcbde0a77aa48938ba38602bff91c09cf85 + +From f3334fcbde0a77aa48938ba38602bff91c09cf85 Mon Sep 17 00:00:00 2001 +From: Ryan Schmidt <git@ryandesign.com> +Date: Sun, 20 Mar 2022 16:29:10 -0500 +Subject: [PATCH] acinclude.m4: Include <stdlib.h> when using exit + +Fixes: + +conftest.c:124:33: error: implicitly declaring library function 'exit' +with type 'void (int) __attribute__((noreturn))' +--- a/m4/acinclude.m4 ++++ b/m4/acinclude.m4 +@@ -582,7 +582,8 @@ AC_DEFUN([GC_TIMEZONE], [ + AC_REQUIRE([AC_STRUCT_TM]) + AC_CACHE_CHECK([tm_gmtoff in struct tm], gq_cv_have_tm_gmtoff, + gq_cv_have_tm_gmtoff=no +- AC_TRY_COMPILE([#include <time.h> ++ AC_TRY_COMPILE([#include <stdlib.h> ++ #include <time.h> + #include <$ac_cv_struct_tm> + ], + [struct tm t; +@@ -595,7 +596,8 @@ AC_DEFUN([GC_TIMEZONE], [ + + AC_CACHE_CHECK([__tm_gmtoff in struct tm], gq_cv_have___tm_gmtoff, + gq_cv_have___tm_gmtoff=no +- AC_TRY_COMPILE([#include <time.h> ++ AC_TRY_COMPILE([#include <stdlib.h> ++ #include <time.h> + #include <$ac_cv_struct_tm> + ], + [struct tm t; + |