tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
swift-im: fix build with Qt 5.11 and split QtWebKit
Orivej Desh
7 years ago
205f3e94
93a59471
+13
-1
2 changed files
expand all
collapse all
unified
split
pkgs
applications
networking
instant-messengers
swift-im
default.nix
qt-5.11.patch
+3
-1
pkgs/applications/networking/instant-messengers/swift-im/default.nix
···
14
14
sha256 = "0w0aiszjd58ynxpacwcgf052zpmbpcym4dhci64vbfgch6wryz0w";
15
15
};
16
16
17
17
-
patches = [ ./scons.patch ];
17
17
+
patches = [ ./qt-5.11.patch ./scons.patch ];
18
18
19
19
nativeBuildInputs = [ pkgconfig qttools scons ];
20
20
···
28
28
NIX_CFLAGS_COMPILE = [
29
29
"-I${libxml2.dev}/include/libxml2"
30
30
"-I${miniupnpc}/include/miniupnpc"
31
31
+
"-I${qtwebkit.dev}/include/QtWebKit"
32
32
+
"-I${qtwebkit.dev}/include/QtWebKitWidgets"
31
33
];
32
34
33
35
buildPhase = ''
+10
pkgs/applications/networking/instant-messengers/swift-im/qt-5.11.patch
···
1
1
+
--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.h
2
2
+
+++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.h
3
3
+
@@ -8,6 +8,7 @@
4
4
+
5
5
+
#include <set>
6
6
+
7
7
+
+#include <QAbstractItemModel>
8
8
+
#include <QWizard>
9
9
+
10
10
+
#include <Swiften/Base/Override.h>