File make-warnings-nonfatal.patch of Package python-qt4

From: Fabian Vogt <fvogt@suse.com>
Subject: Make SIP warnings nonfatal

It uses some deprecated options which break build otherwise.

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
@@ -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', '-f', sip_flags]
+    argv = [quote(target_config.sip), '-w', '-n', 'PyQt4.sip', sip_flags]
 
     # Make sure any unknown Qt version gets treated as the latest Qt v4.
     argv.append('-B')
openSUSE Build Service is sponsored by