File tree 2 files changed +24
-1
lines changed
pkgs/applications/science/electronics/qfsm
2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
10
10
11
11
buildInputs = [ qt4 cmake graphviz pkgconfig ] ;
12
12
13
- patches = [ ./drop-hardcoded-prefix.patch ] ;
13
+ patches = [
14
+ ./drop-hardcoded-prefix.patch
15
+ ./gcc6-fixes.patch
16
+ ] ;
14
17
15
18
hardeningDisable = [ "format" ] ;
16
19
Original file line number Diff line number Diff line change
1
+ --- qfsm-0.54.0-Source-orig/src/FileIO.cpp 2015-01-02 19:01:46.000000000 +0100
2
+ +++ qfsm-0.54.0-Source/src/FileIO.cpp 2017-09-11 19:53:30.579488402 +0200
3
+ @@ -1617,7 +1617,7 @@
4
+ QString ext;
5
+
6
+ if (!imp)
7
+ - return FALSE;
8
+ + return NULL;
9
+
10
+ Project* p=NULL;
11
+ importdlg->setAcceptMode(QFileDialog::AcceptOpen);
12
+ @@ -1641,7 +1641,7 @@
13
+ ifstream fin(act_importfile);
14
+
15
+ if (!fin)
16
+ - return FALSE;
17
+ + return NULL;
18
+
19
+ emit setWaitCursor();
20
+
You can’t perform that action at this time.
0 commit comments