1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

math/py-heyoka: Unbreak build

This commit is contained in:
Yuri Victorovich 2022-07-27 19:55:44 -07:00
parent 15af40488a
commit 890c16ad1b
2 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,6 @@
--- CMakeLists.txt.orig 2021-08-03 13:38:33 UTC
--- CMakeLists.txt.orig 2022-05-11 09:27:30 UTC
+++ CMakeLists.txt
@@ -123,7 +123,7 @@ if(${heyoka_VERSION} VERSION_LESS ${_HEYOKA_PY_MIN_HEY
@@ -136,7 +136,7 @@ if(${heyoka_VERSION} VERSION_LESS ${_HEYOKA_PY_MIN_HEY
endif()
# Python.
@ -8,4 +8,4 @@
+find_package(Python3 ${FREEBSD_PYTHON_DISTVERSION} REQUIRED EXACT COMPONENTS Interpreter Development)
message(STATUS "Python3 interpreter: ${Python3_EXECUTABLE}")
message(STATUS "Python3 installation directory: ${Python3_SITEARCH}")
set(HEYOKA_PY_INSTALL_PATH "" CACHE STRING "heyoka module installation path")
if(${Python3_VERSION_MINOR} LESS 5)

View File

@ -0,0 +1,10 @@
--- heyoka/core.cpp.orig 2022-07-28 02:38:59 UTC
+++ heyoka/core.cpp
@@ -14,6 +14,7 @@
#include <exception>
#include <functional>
#include <initializer_list>
+#include <iostream>
#include <optional>
#include <sstream>
#include <string>