You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
--- configure.py.orig 2021-03-18 22:08:19.000000000 -0400
|
|
+++ configure.py 2021-03-18 22:08:19.000000000 -0400
|
|
@@ -2490,7 +2490,7 @@
|
|
the target configuration.
|
|
"""
|
|
|
|
- sip_flags = ['-n', 'PyQt5.sip']
|
|
+ sip_flags = ['-n', 'sip']
|
|
|
|
# If we don't check for signed interpreters, we exclude the 'VendorID'
|
|
# feature
|
|
--- designer/pluginloader.cpp.orig 2021-03-05 04:57:14.000000000 -0500
|
|
+++ designer/pluginloader.cpp 2021-03-18 22:08:19.000000000 -0400
|
|
@@ -169,7 +169,7 @@
|
|
// Make sure we have sip.unwrapinstance.
|
|
if (!sip_unwrapinstance)
|
|
{
|
|
- sip_unwrapinstance = getModuleAttr("PyQt5.sip", "unwrapinstance");
|
|
+ sip_unwrapinstance = getModuleAttr("sip", "unwrapinstance");
|
|
|
|
if (!sip_unwrapinstance)
|
|
return true;
|
|
--- qmlscene/pluginloader.cpp.orig 2021-03-05 04:57:14.000000000 -0500
|
|
+++ qmlscene/pluginloader.cpp 2021-03-18 22:08:19.000000000 -0400
|
|
@@ -414,9 +414,9 @@
|
|
void PyQt5QmlPlugin::getSipAPI()
|
|
{
|
|
#if defined(SIP_USE_PYCAPSULE)
|
|
- sip = (const sipAPIDef *)PyCapsule_Import("PyQt5.sip._C_API", 0);
|
|
+ sip = (const sipAPIDef *)PyCapsule_Import("sip._C_API", 0);
|
|
#else
|
|
- PyObject *c_api = getModuleAttr("PyQt5.sip", "_C_API");
|
|
+ PyObject *c_api = getModuleAttr("sip", "_C_API");
|
|
|
|
if (c_api)
|
|
{
|