From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 62BDE15800F for ; Sat, 11 Feb 2023 04:26:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E83CE079E; Sat, 11 Feb 2023 04:26:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11AD8E079E for ; Sat, 11 Feb 2023 04:26:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7BD2340DBF for ; Sat, 11 Feb 2023 04:26:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3030E8A6 for ; Sat, 11 Feb 2023 04:26:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1676089137.09a27ff89060cfb08979f34a8c5fdfe4d1f79572.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/rrdtool/, net-analyzer/rrdtool/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/rrdtool/files/rrdtool-1.8.0-configure-clang16.patch net-analyzer/rrdtool/rrdtool-1.8.0-r2.ebuild net-analyzer/rrdtool/rrdtool-1.8.0-r3.ebuild X-VCS-Directories: net-analyzer/rrdtool/ net-analyzer/rrdtool/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 09a27ff89060cfb08979f34a8c5fdfe4d1f79572 X-VCS-Branch: master Date: Sat, 11 Feb 2023 04:26:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 49483ebe-0546-4aad-9e61-b5066d1b1797 X-Archives-Hash: 775352db5312913c991ac27143ba5294 commit: 09a27ff89060cfb08979f34a8c5fdfe4d1f79572 Author: Sam James gentoo org> AuthorDate: Sat Feb 11 03:53:43 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 11 04:18:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09a27ff8 net-analyzer/rrdtool: fix configure w/ clang 16 Signed-off-by: Sam James gentoo.org> .../files/rrdtool-1.8.0-configure-clang16.patch | 34 ++++++++++++++++++++++ ...ool-1.8.0-r2.ebuild => rrdtool-1.8.0-r3.ebuild} | 1 + 2 files changed, 35 insertions(+) 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 +Date: Sun, 20 Mar 2022 16:29:10 -0500 +Subject: [PATCH] acinclude.m4: Include 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 ++ AC_TRY_COMPILE([#include ++ #include + #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 ++ AC_TRY_COMPILE([#include ++ #include + #include <$ac_cv_struct_tm> + ], + [struct tm t; + diff --git a/net-analyzer/rrdtool/rrdtool-1.8.0-r2.ebuild b/net-analyzer/rrdtool/rrdtool-1.8.0-r3.ebuild similarity index 99% rename from net-analyzer/rrdtool/rrdtool-1.8.0-r2.ebuild rename to net-analyzer/rrdtool/rrdtool-1.8.0-r3.ebuild index 06f1d9e0cf3b..57e9b04d676a 100644 --- a/net-analyzer/rrdtool/rrdtool-1.8.0-r2.ebuild +++ b/net-analyzer/rrdtool/rrdtool-1.8.0-r3.ebuild @@ -74,6 +74,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.4.9-disable-rrd_graph-perl.patch "${FILESDIR}"/${PN}-1.7.0-disable-rrd_graph-cgi.patch "${FILESDIR}"/${PN}-1.7.1-configure.ac.patch + "${FILESDIR}"/${P}-configure-clang16.patch ) pkg_setup() {