File dont-use-private-PyQt4.sip.patch of Package python-qt4
Index: PyQt4_gpl_x11-4.12.3/configure-ng.py
===================================================================
--- PyQt4_gpl_x11-4.12.3.orig/configure-ng.py
+++ PyQt4_gpl_x11-4.12.3/configure-ng.py
@@ -2125,7 +2125,7 @@ def generate_sip_module_code(target_conf
the target configuration.
"""
- sip_flags = ['-n', 'PyQt4.sip']
+ sip_flags = []
# If we don't check for signed interpreters, we exclude the 'VendorID'
# feature
@@ -2217,7 +2217,7 @@ def generate_sip_module_code(target_conf
mk_clean_dir(mname)
# Build the SIP command line.
- argv = [quote(target_config.sip), '-w', '-n', 'PyQt4.sip', sip_flags]
+ argv = [quote(target_config.sip), '-w', sip_flags]
# Make sure any unknown Qt version gets treated as the latest Qt v4.
argv.append('-B')