From: "Stephan Hartmann" <sultan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/nomacs/, media-gfx/nomacs/files/
Date: Sun, 23 Jan 2022 17:58:08 +0000 (UTC) [thread overview]
Message-ID: <1642960681.3edc3889c88ec28a48c6d3a474705dac18f875eb.sultan@gentoo> (raw)
commit: 3edc3889c88ec28a48c6d3a474705dac18f875eb
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 23 17:57:28 2022 +0000
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 17:58:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3edc3889
media-gfx/nomacs: fix build error due to missing include
Closes: https://bugs.gentoo.org/775620
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
.../files/nomacs-3.16.224-DkMath-ostream.patch | 24 ++++++++++++++++++++++
media-gfx/nomacs/nomacs-3.16.224-r2.ebuild | 7 +++++--
2 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/media-gfx/nomacs/files/nomacs-3.16.224-DkMath-ostream.patch b/media-gfx/nomacs/files/nomacs-3.16.224-DkMath-ostream.patch
new file mode 100644
index 000000000000..318953f7896a
--- /dev/null
+++ b/media-gfx/nomacs/files/nomacs-3.16.224-DkMath-ostream.patch
@@ -0,0 +1,24 @@
+From aca8443079ff926be873a77e3077b249a12487dd Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <sultan@gentoo.org>
+Date: Sun, 23 Jan 2022 18:51:56 +0100
+Subject: [PATCH] IWYU: add missing ostream in DkMath
+
+---
+ src/DkCore/DkMath.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/DkCore/DkMath.h b/src/DkCore/DkMath.h
+index c37ef23..2c3a5be 100644
+--- a/src/DkCore/DkMath.h
++++ b/src/DkCore/DkMath.h
+@@ -30,6 +30,7 @@
+ #pragma warning(push, 0) // no warnings from includes - begin
+ #include <cmath>
+ #include <float.h>
++#include <ostream>
+ #include <QDebug>
+ #include <QPointF>
+ #include <QPolygonF>
+--
+2.34.1
+
diff --git a/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild b/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild
index bab73e326784..0102090380d2 100644
--- a/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild
+++ b/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -48,7 +48,10 @@ S="${WORKDIR}/${P}/ImageLounge"
DOCS=( src/changelog.txt )
-PATCHES=( "${FILESDIR}"/${P}-quazip1.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-quazip1.patch
+ "${FILESDIR}"/${P}-DkMath-ostream.patch
+)
src_prepare() {
if use plugins ; then
next reply other threads:[~2022-01-23 17:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-23 17:58 Stephan Hartmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-01 10:37 [gentoo-commits] repo/gentoo:master commit in: media-gfx/nomacs/, media-gfx/nomacs/files/ Andreas Sturmlechner
2023-09-03 12:19 Andreas Sturmlechner
2021-02-23 19:53 Andreas Sturmlechner
2019-08-10 1:14 Michael Palimaka
2019-02-07 13:01 Andreas Sturmlechner
2019-01-14 16:04 Andreas Sturmlechner
2018-06-07 10:48 Andreas Sturmlechner
2017-06-20 16:25 Davide Pesavento
2017-01-22 18:33 Andreas Sturmlechner
2017-01-07 20:26 Andreas Sturmlechner
2016-03-06 13:14 Davide Pesavento
2016-01-31 17:28 Michael Palimaka
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=1642960681.3edc3889c88ec28a48c6d3a474705dac18f875eb.sultan@gentoo \
--to=sultan@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