ports/devel/py-qt6-sip/files/patch-sip__core.c
Guido Falsi bac27439dc */*pyqt*: Add pyqt6 ports
Reviewed by:		tcberner, lbartoletti, fluffy
Approved by:		kde (tcberner, lbartoletti, fluffy), portmgr (tcberner)
Differential Revision:	https://reviews.freebsd.org/D37191
2022-11-09 10:47:49 +01:00

15 lines
339 B
C

--- sip_core.c.orig 2022-06-17 14:27:21 UTC
+++ sip_core.c
@@ -20,6 +20,12 @@
#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <datetime.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>