From 51485d8471dc11c393723b109f228081a2c46475 Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Tue, 2 Jun 2020 23:13:38 +0200
Subject: [PATCH] [wip/py-pythonqt] add patch-ab

to fix build on 16.04
---
 py-pythonqt/distinfo         |  1 +
 py-pythonqt/patches/patch-ab | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 py-pythonqt/patches/patch-ab

diff --git a/py-pythonqt/distinfo b/py-pythonqt/distinfo
index a9d62794..aaf706c3 100644
--- a/py-pythonqt/distinfo
+++ b/py-pythonqt/distinfo
@@ -2,3 +2,4 @@ SHA1 (PythonQt3.2.zip) = b85f2cf9a4e546a46dc416bb0e86759983384543
 RMD160 (PythonQt3.2.zip) = fa86fc32d86d5464d0bc940e28a740e87bf036eb
 Size (PythonQt3.2.zip) = 4539058 bytes
 SHA1 (patch-aa) = 8f3a509645cf97519f8ef96536e49f8e08494a72
+SHA1 (patch-ab) = cf2e9e49ac0fa32716445cc004c0ee099a7e9263
diff --git a/py-pythonqt/patches/patch-ab b/py-pythonqt/patches/patch-ab
new file mode 100644
index 00000000..22ab921f
--- /dev/null
+++ b/py-pythonqt/patches/patch-ab
@@ -0,0 +1,16 @@
+fix build on 16.04
+ref https://sourceforge.net/p/pythonqt/discussion/631393/thread/a9358753/
+
+--- extensions/PythonQt_QtAll/PythonQt_QtAll.cpp.orig	2016-07-25 13:06:46.000000000 +0200
++++ extensions/PythonQt_QtAll/PythonQt_QtAll.cpp	2020-06-02 23:08:18.831046707 +0200
+@@ -66,10 +66,6 @@
+     PythonQt_init_QtOpenGL(0);
+     PythonQt_init_QtXmlPatterns(0);
+     PythonQt_init_QtMultimedia(0);
+-    PythonQt_init_QtQml(0);
+-    PythonQt_init_QtQuick(0);
+     PythonQt_init_QtUiTools(0);
+   };
+ };
+-
+-
-- 
GitLab