Fix remmina the FreeRDP GUI frontend
The patch fixes [undefined reference to `g_thread_init'] as suggested by http://ragnermagalhaes.blogspot.ru/2007/09/undefined-reference-to-gthreadinit.html
This commit is contained in:
parent
1a4233d440
commit
ac0019dc18
@ -18,6 +18,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
cmakeFlags = "-DWITH_VTE=OFF -DWITH_TELEPATHY=OFF -DWITH_AVAHI=OFF";
|
cmakeFlags = "-DWITH_VTE=OFF -DWITH_TELEPATHY=OFF -DWITH_AVAHI=OFF";
|
||||||
|
|
||||||
|
patches = [ ./lgthread.patch ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/remmina --prefix LD_LIBRARY_PATH : "${libX11}/lib"
|
wrapProgram $out/bin/remmina --prefix LD_LIBRARY_PATH : "${libX11}/lib"
|
||||||
'';
|
'';
|
||||||
|
16
pkgs/applications/networking/remote/remmina/lgthread.patch
Normal file
16
pkgs/applications/networking/remote/remmina/lgthread.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Fix [undefined reference to `g_thread_init'] as suggested by
|
||||||
|
http://ragnermagalhaes.blogspot.ru/2007/09/undefined-reference-to-gthreadinit.html
|
||||||
|
|
||||||
|
diff -ru FreeRDP-Remmina-356c033.orig/remmina/CMakeLists.txt FreeRDP-Remmina-356c033/remmina/CMakeLists.txt
|
||||||
|
--- FreeRDP-Remmina-356c033.orig/remmina/CMakeLists.txt 2013-11-05 12:43:27.660276912 +0400
|
||||||
|
+++ FreeRDP-Remmina-356c033/remmina/CMakeLists.txt 2013-11-05 12:53:39.607018349 +0400
|
||||||
|
@@ -132,6 +132,8 @@
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
+set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lgthread-2.0" )
|
||||||
|
+
|
||||||
|
add_subdirectory(po)
|
||||||
|
add_subdirectory(icons)
|
||||||
|
add_subdirectory(desktop)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user