public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ampi/files/, sys-cluster/ampi/
@ 2024-04-04 14:27 Andrew Ammerlaan
  0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2024-04-04 14:27 UTC (permalink / raw
  To: gentoo-commits

commit:     05b289c9289d3099436883a6d936544390fb1fb8
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Thu Apr  4 13:19:02 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Apr  4 14:26:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b289c9

sys-cluster/ampi: Fix missing include

Closes: https://bugs.gentoo.org/881323
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/36097
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-cluster/ampi/ampi-0_pre20140616.ebuild                     |  4 +++-
 .../ampi/files/ampi-0_pre20140616-missing-include.patch        | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/ampi/ampi-0_pre20140616.ebuild b/sys-cluster/ampi/ampi-0_pre20140616.ebuild
index 41f35f9e9bad..c441769df548 100644
--- a/sys-cluster/ampi/ampi-0_pre20140616.ebuild
+++ b/sys-cluster/ampi/ampi-0_pre20140616.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,6 +16,8 @@ KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86"
 RDEPEND="virtual/mpi"
 DEPEND="${RDEPEND}"
 
+PATCHES=( "${FILESDIR}"/"${P}"-missing-include.patch )
+
 src_prepare() {
 	default
 	eautoreconf

diff --git a/sys-cluster/ampi/files/ampi-0_pre20140616-missing-include.patch b/sys-cluster/ampi/files/ampi-0_pre20140616-missing-include.patch
new file mode 100644
index 000000000000..0e9452877728
--- /dev/null
+++ b/sys-cluster/ampi/files/ampi-0_pre20140616-missing-include.patch
@@ -0,0 +1,10 @@
+--- a/ADtoolStubs/OO/support.c	2024-04-04 13:10:23.506762461 +0000
++++ b/ADtoolStubs/OO/support.c	2024-04-04 13:11:34.033298264 +0000
+@@ -8,6 +8,7 @@
+ */
+ #include <stdlib.h>
+ #include <assert.h>
++#include <stdio.h>
+ #include "ampi/adTool/support.h"
+ 
+ MPI_Comm ADTOOL_AMPI_COMM_WORLD_SHADOW;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-04 14:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-04 14:27 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ampi/files/, sys-cluster/ampi/ Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox