Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
vegastrike
fix-consider-include-eval_h.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-consider-include-eval_h.patch of Package vegastrike
diff -ruNp a/engine/src/cmd/ai/pythonai.cpp b/engine/src/cmd/ai/pythonai.cpp --- a/engine/src/cmd/ai/pythonai.cpp +++ b/engine/src/cmd/ai/pythonai.cpp @@ -29,7 +29,9 @@ #include <Python.h> #include <compile.h> +#if ((PY_VERSION_HEX) < 0x030B0000) #include <eval.h> +#endif #include <stdio.h> #include "python/python_class.h" diff -ruNp a/engine/src/python/init.cpp b/engine/src/python/init.cpp --- a/engine/src/python/init.cpp +++ b/engine/src/python/init.cpp @@ -38,7 +38,9 @@ #include <pyerrors.h> #include <pythonrun.h> #include <compile.h> +#if ((PY_VERSION_HEX) < 0x030B0000) #include <eval.h> +#endif #include <stdio.h> #include <math.h> diff -ruNp a/engine/src/python/python_class.h b/engine/src/python/python_class.h --- a/engine/src/python/python_class.h +++ b/engine/src/python/python_class.h @@ -49,7 +49,9 @@ #include "init.h" #include "cmd/script/pythonmission.h" #include <compile.h> +#if (PY_VERSION_HEX < 0x030B0000) #include <eval.h> +#endif #include "python/python_compile.h" #include "cmd/ai/fire.h" #include <memory> diff -ruNp a/engine/src/python/python_compile.cpp b/engine/src/python/python_compile.cpp --- a/engine/src/python/python_compile.cpp +++ b/engine/src/python/python_compile.cpp @@ -27,7 +27,9 @@ #include "cmd/unit_generic.h" #include "python_compile.h" #include <compile.h> +#if ((PY_VERSION_HEX) < 0x030B0000) #include <eval.h> +#endif #include "configxml.h" #include "vs_globals.h" #include "vsfilesystem.h"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor