Package: qt4-x11 / 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1

fix_libmng_test.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Author: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Description: Fix libmng test.
 libmng pulls in libjpeg. In turn libjpeg requires that code that uses it should
 include stdio.h [0].
 .
 [0] <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461602#10>
 .
 So adding the corresponding include before libmng solves the issue.
Forwarded: https://codereview.qt-project.org/#/c/93061/

---
 config.tests/unix/libmng/libmng.cpp |    1 +
 1 file changed, 1 insertion(+)

--- a/config.tests/unix/libmng/libmng.cpp
+++ b/config.tests/unix/libmng/libmng.cpp
@@ -39,6 +39,7 @@
 **
 ****************************************************************************/
 
+#include <stdio.h>
 #include <libmng.h>
 
 int main(int, char **)