summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch')
-rw-r--r--media-gfx/yafaray/files/yafaray-3.5.1-add-missing-limits-header.patch21
1 files changed, 21 insertions, 0 deletions
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
+