sysklogd: fix build on musl
[buildroot-gz.git] / package / python-pyqt / 0004-sip-QtGuit-hide-qfont-cachestatistics.patch
blobc07bea777f8bc76f1db6ab55681535f52f439479
1 Hide QFont::cacheStatistics which isn't available in QWS
3 Signed-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
4 ---
6 diff -ur PyQt-x11-gpl-4.9.6/sip/QtGui/qfont.sip pyqt-4.9.6/sip/QtGui/qfont.sip
7 --- PyQt-x11-gpl-4.9.6/sip/QtGui/qfont.sip 2012-12-08 13:51:38.000000000 +0400
8 +++ pyqt-4.9.6/sip/QtGui/qfont.sip 2013-05-22 14:06:38.335000022 +0400
9 @@ -185,7 +185,9 @@
10 %End
11 static void initialize();
12 static void cleanup();
13 +%If (!WS_QWS)
14 static void cacheStatistics();
15 +%End
16 QString defaultFamily() const;
17 QString lastResortFamily() const;
18 QString lastResortFont() const;