opnsense-ports/devel/py-qt5-sip/files/patch-siplib.c
Franco Fichtner 195137c968 */*: sync with upstream
Taken from: FreeBSD
2025-01-07 13:45:07 +01:00

15 lines
335 B
C

--- siplib.c.orig 2024-12-12 10:01:35 UTC
+++ siplib.c
@@ -12,6 +12,12 @@
#include <Python.h>
#include <datetime.h>
#include <frameobject.h>
+#if PY_VERSION_HEX >= 0x030b00a6
+ #ifndef Py_BUILD_CORE
+ #define Py_BUILD_CORE 1
+ #endif
+ #include "internal/pycore_frame.h"
+#endif
#include <assert.h>
#include <stdio.h>