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 0806A158094 for ; Fri, 2 Sep 2022 01:07:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16A1AE093D; Fri, 2 Sep 2022 01:07:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 F33F4E093D for ; Fri, 2 Sep 2022 01:07:21 +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 142B234118F for ; Fri, 2 Sep 2022 01:07:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38F4F58D for ; Fri, 2 Sep 2022 01:07:19 +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: <1662080830.68ca288e4d62bdf7631746b20d40a72e2b6ba746.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/bino/, media-video/bino/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/bino/bino-1.6.8.ebuild media-video/bino/files/bino-1.6.8-time-include.patch X-VCS-Directories: media-video/bino/files/ media-video/bino/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 68ca288e4d62bdf7631746b20d40a72e2b6ba746 X-VCS-Branch: master Date: Fri, 2 Sep 2022 01:07:19 +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: 3d23f081-54a5-42ce-b32e-2230641b7085 X-Archives-Hash: 866c73671554007574d0e58387c29345 commit: 68ca288e4d62bdf7631746b20d40a72e2b6ba746 Author: Sam James gentoo org> AuthorDate: Fri Sep 2 00:59:33 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 2 01:07:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ca288e media-video/bino: fix musl build w/ gcc-12 Closes: https://bugs.gentoo.org/866290 Signed-off-by: Sam James gentoo.org> media-video/bino/bino-1.6.8.ebuild | 4 ++++ .../bino/files/bino-1.6.8-time-include.patch | 24 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/media-video/bino/bino-1.6.8.ebuild b/media-video/bino/bino-1.6.8.ebuild index 0cdd8ab1a37c..f0f6a54eb8d1 100644 --- a/media-video/bino/bino-1.6.8.ebuild +++ b/media-video/bino/bino-1.6.8.ebuild @@ -30,6 +30,10 @@ DEPEND="${RDEPEND}" BDEPEND="sys-devel/gettext virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${PN}-1.6.8-time-include.patch +) + src_configure() { if use video_cards_nvidia; then append-cppflags "-I${ESYSROOT}/usr/include/NVCtrl" diff --git a/media-video/bino/files/bino-1.6.8-time-include.patch b/media-video/bino/files/bino-1.6.8-time-include.patch new file mode 100644 index 000000000000..b10f42b1a40f --- /dev/null +++ b/media-video/bino/files/bino-1.6.8-time-include.patch @@ -0,0 +1,24 @@ +Sent upstream by email on 2022-09-02. + +From 242b5df7074739fb4c74e2682cb9f325a5269c94 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Fri, 2 Sep 2022 02:04:26 +0100 +Subject: [PATCH 2/2] Fix build with GCC 12 and musl (missing include) + +Fixes build errors like: +``` +../../src/base/str.h:146:30: error: 'time_t' was not declared in this scope + 146 | std::string rfc2822_time(time_t t); +``` + +Signed-off-by: Sam James +--- a/src/base/str.h ++++ b/src/base/str.h +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + + #ifdef __GNUC__ + # define STR_AFP(a, b) __attribute__ ((format (printf, a, b)))