[MacPorts] #68287: py-poppler-qt5 @21.3.0: error: no template named 'optional' in namespace 'std'
MacPorts
noreply at macports.org
Tue Oct 17 20:43:24 UTC 2023
#68287: py-poppler-qt5 @21.3.0: error: no template named 'optional' in namespace
'std'
-----------------------------+----------------------
Reporter: MStraeten | Owner: dliessi
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: sonoma
Port: py-poppler-qt5 |
-----------------------------+----------------------
Comment (by jeanas):
Could anyone test the following patch? I don't have a macOS machine.
Thanks.
{{{
diff --git a/pyproject.toml b/pyproject.toml
index a032bff..c137587 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -31,6 +31,11 @@ requires-dist = [
"PyQt5 >= 5.15",
]
+[tool.sip.builder]
+qmake-settings = [
+ "CONFIG += c++17",
+]
+
[tool.sip.project]
sip-files-dir = "."
sdist-excludes = [
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68287#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list