1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

qt58.qtbase: remove D-Bus library paths patch

Qt is configured with `-dbus-linked` which causes the library paths to be
resolved at compile time and added to RPATH.
This commit is contained in:
Thomas Tuegel 2017-04-22 12:30:41 -05:00
parent 5735edb894
commit 577c4f543b
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59
3 changed files with 0 additions and 17 deletions

View file

@ -234,9 +234,6 @@ stdenv.mkDerivation {
''-DNIXPKGS_QTCOMPOSE="${libX11.out}/share/X11/locale"''
''-DNIXPKGS_LIBRESOLV="${stdenv.cc.libc.out}/lib/libresolv"''
''-DNIXPKGS_LIBXCURSOR="${libXcursor.out}/lib/libXcursor"''
(if stdenv.isLinux
then ''-DNIXPKGS_LIBDBUS="${dbus.lib}/lib/libdbus-1"''
else ''-DNIXPKGS_LIBDBUS=""'')
]
++ lib.optional mesaSupported

View file

@ -1,13 +0,0 @@
Index: qtbase-opensource-src-5.8.0/src/dbus/qdbus_symbols.cpp
===================================================================
--- qtbase-opensource-src-5.8.0.orig/src/dbus/qdbus_symbols.cpp
+++ qtbase-opensource-src-5.8.0/src/dbus/qdbus_symbols.cpp
@@ -97,7 +97,7 @@ bool qdbus_loadLibDBus()
#ifdef Q_OS_WIN
QLatin1String("dbus-1"),
#endif
- QLatin1String("libdbus-1")
+ QLatin1String("@dbus_libs@/lib/libdbus-1")
};
lib->unload();

View file

@ -1,7 +1,6 @@
dlopen-resolv.patch
tzdir.patch
dlopen-libXcursor.patch
dlopen-dbus.patch
xdg-config-dirs.patch
compose-search-path.patch
libressl.patch