From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1388772-garchives=archives.gentoo.org@lists.gentoo.org> 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 6A2AB15808E for <garchives@archives.gentoo.org>; Sat, 23 Apr 2022 01:22:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BF76E086A; Sat, 23 Apr 2022 01:21:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 113E9E084A for <gentoo-commits@lists.gentoo.org>; Sat, 23 Apr 2022 01:21:52 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2EF2A341A71 for <gentoo-commits@lists.gentoo.org>; Sat, 23 Apr 2022 01:21:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B26C3C7 for <gentoo-commits@lists.gentoo.org>; Sat, 23 Apr 2022 01:21:46 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1650676892.a523b10395f37bb6de358975d1a4da888f4ee9c3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/, media-gfx/yafaray/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch media-gfx/yafaray/yafaray-3.5.1-r1.ebuild X-VCS-Directories: media-gfx/yafaray/files/ media-gfx/yafaray/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a523b10395f37bb6de358975d1a4da888f4ee9c3 X-VCS-Branch: master Date: Sat, 23 Apr 2022 01:21:46 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4fa04e43-59c4-452c-b57f-326b1372bff3 X-Archives-Hash: 82602665033e8bdc4a44178380be7c4b commit: a523b10395f37bb6de358975d1a4da888f4ee9c3 Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> AuthorDate: Fri Apr 22 06:32:16 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 23 01:21:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a523b103 media-gfx/yafaray: fix build with clang Closes: https://bugs.gentoo.org/830949 Bug: https://github.com/YafaRay/libYafaRay/issues/9 Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> Closes: https://github.com/gentoo/gentoo/pull/25150 Signed-off-by: Sam James <sam <AT> gentoo.org> .../yafaray-3.5.1-add-missing-limits-header.patch | 21 +++++++++++++++++++++ media-gfx/yafaray/yafaray-3.5.1-r1.ebuild | 6 +++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch b/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch new file mode 100644 index 000000000000..19ef77cbf829 --- /dev/null +++ b/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch @@ -0,0 +1,21 @@ +From f947af314bdfb8c5d5cb79a2a7877d9ad4d2f087 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Fri, 22 Apr 2022 08:23:48 +0200 +Subject: [PATCH] add missing limits header + +Bug: https://github.com/YafaRay/libYafaRay/issues/9 +Bug: https://bugs.gentoo.org/830949 +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- a/include/core_api/surface.h ++++ b/include/core_api/surface.h +@@ -24,6 +24,7 @@ + #define Y_SURFACE_H + + #include <yafray_constants.h> ++#include <limits> + #include "vector3d.h" + #include "color.h" + +-- +2.35.1 + diff --git a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild index 2e4fb63fdf46..336f9d311dd6 100644 --- a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild +++ b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild @@ -45,7 +45,11 @@ BDEPEND=" ) " -PATCHES=( "${FILESDIR}"/${P}-0001-respect-distribution-CFLAGS.patch ) +PATCHES=( + "${FILESDIR}"/${P}-0001-respect-distribution-CFLAGS.patch + "${FILESDIR}"/${P}-add-missing-limits-header.patch +) + DOCS=( AUTHORS.md CHANGELOG.md CODING.md INSTALL.md README.md ) pkg_setup() {