Package: fritzing / 0.9.3b+dfsg-4

no-isystem-for-gcc6.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
Quick and dirty fix for g++-6, which does not work with -isystem
see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129,
     https://bugreports.qt.io/browse/QTBUG-53375,
     https://codereview.qt-project.org/#/c/159215
Index: fritzing-app-0.9.3b+dfsg/phoenix.pro
===================================================================
--- fritzing-app-0.9.3b+dfsg.orig/phoenix.pro
+++ fritzing-app-0.9.3b+dfsg/phoenix.pro
@@ -30,6 +30,12 @@
 #
 # QTPLUGIN  += qjpeg qsqlite
 
+# Quick and dirty fix for g++-6, which does not work with -isystem
+# see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129,
+#      https://bugreports.qt.io/browse/QTBUG-53375,
+#      https://codereview.qt-project.org/#/c/159215
+#
+QMAKE_CFLAGS_ISYSTEM = -I
 
 CONFIG += debug_and_release