dev-lang/polyml: fix c++11 build

Closes: https://bugs.gentoo.org/884065
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2023-01-22 13:15:07 +01:00
parent d401b34ca9
commit 3617af6326
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/libpolyml/xwindows.cpp 2023-01-22 10:40:35.855024465 +0100
+++ b/libpolyml/xwindows.cpp 2023-01-22 10:41:00.798613288 +0100
@@ -7274,7 +7274,7 @@
: printf("Old Display <%p>",P.AsAddress()));
return;
- default: printf("Pointer "ZERO_X"%p",P.AsAddress());
+ default: printf("Pointer %p",P.AsAddress());
return;
}
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-5.8.2-configure.patch
"${FILESDIR}"/${P}-c++11.patch
)
src_prepare() {