diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2023-04-25 16:20:49 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-25 22:27:10 +0100 |
commit | 31730190420eb7e3b472c4649b7f3c67cdb1dbc9 (patch) | |
tree | 7db036dbd28e230291aec895584e7c4cf1538f43 | |
parent | app-shells/bash: fix whitespace (diff) | |
download | gentoo-31730190420eb7e3b472c4649b7f3c67cdb1dbc9.tar.gz gentoo-31730190420eb7e3b472c4649b7f3c67cdb1dbc9.tar.bz2 gentoo-31730190420eb7e3b472c4649b7f3c67cdb1dbc9.zip |
media-gfx/yafaray: fix build with gcc-13
add missing #include statement
Bug: https://github.com/YafaRay/libYafaRay/issues/14
Closes: https://bugs.gentoo.org/895208
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/30748
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | media-gfx/yafaray/files/yafaray-3.5.1-add-missing-include-statements-for-gcc-13.patch | 19 | ||||
-rw-r--r-- | media-gfx/yafaray/metadata.xml | 3 | ||||
-rw-r--r-- | media-gfx/yafaray/yafaray-3.5.1-r4.ebuild | 1 |
3 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-include-statements-for-gcc-13.patch b/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-include-statements-for-gcc-13.patch new file mode 100644 index 000000000000..066824f39c60 --- /dev/null +++ b/media-gfx/yafaray/files/yafaray-3.5.1-add-missing-include-statements-for-gcc-13.patch @@ -0,0 +1,19 @@ +From ca340cbfc518cc4b0655840453198620215535df Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Tue, 25 Apr 2023 09:27:40 +0200 +Subject: [PATCH] add missing #include statements for gcc-13 + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- a/include/core_api/session.h ++++ b/include/core_api/session.h +@@ -25,6 +25,7 @@ + + #include <yafray_constants.h> + #include <utilities/threadUtils.h> ++#include <string> + + __BEGIN_YAFRAY + +-- +2.40.0 + diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml index b38bee5a6025..c509ab948629 100644 --- a/media-gfx/yafaray/metadata.xml +++ b/media-gfx/yafaray/metadata.xml @@ -28,4 +28,7 @@ Add support for <pkg>media-libs/opencv</pkg> image processing. </flag> </use> + <upstream> + <remote-id type="github">YafaRay/libYafaRay</remote-id> + </upstream> </pkgmetadata> diff --git a/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild b/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild index 39fab8a3fae7..faee7f24fff4 100644 --- a/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild +++ b/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild @@ -47,6 +47,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-0001-respect-distribution-CFLAGS.patch "${FILESDIR}"/${P}-add-missing-limits-header.patch + "${FILESDIR}"/${PN}-3.5.1-add-missing-include-statements-for-gcc-13.patch ) DOCS=( AUTHORS.md CHANGELOG.md CODING.md INSTALL.md README.md ) |