mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
11
dev-lang/polyml/files/polyml-5.9-c++11.patch
Normal file
11
dev-lang/polyml/files/polyml-5.9-c++11.patch
Normal 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;
|
||||
}
|
||||
}
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user