public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/, media-gfx/yafaray/files/
Date: Sat, 23 Apr 2022 01:21:46 +0000 (UTC)	[thread overview]
Message-ID: <1650676892.a523b10395f37bb6de358975d1a4da888f4ee9c3.sam@gentoo> (raw)

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() {


             reply	other threads:[~2022-04-23  1:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-23  1:21 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-30  9:43 [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/, media-gfx/yafaray/files/ Sam James
2020-04-26 13:37 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1650676892.a523b10395f37bb6de358975d1a4da888f4ee9c3.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox