Skip to content
Snippets Groups Projects
Commit 9d20700b authored by Dima Panov's avatar Dima Panov
Browse files

graphics/openshadinglanguage: unbreak build with py311

Approved by:	maintainer (implicit)
parent 958546bf
No related branches found
No related tags found
No related merge requests found
--- src/liboslquery/py_osl.h.orig 2022-01-08 02:36:45 UTC
+++ src/liboslquery/py_osl.h
@@ -31,6 +31,13 @@
# include <OpenEXR/half.h>
#endif
+#if PY_VERSION_HEX >= 0x030b00a6
+ #ifndef Py_BUILD_CORE
+ #define Py_BUILD_CORE 1
+ #endif
+ #include "internal/pycore_frame.h"
+#endif
+
#include <pybind11/numpy.h>
#include <pybind11/operators.h>
#include <pybind11/pybind11.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment