packages: kadu/kadu-link.patch (NEW) - link with -lX11

lisu lisu at pld-linux.org
Mon Nov 8 13:28:18 CET 2010


Author: lisu                         Date: Mon Nov  8 12:28:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link with -lX11

---- Files affected:
packages/kadu:
   kadu-link.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kadu/kadu-link.patch
diff -u /dev/null packages/kadu/kadu-link.patch:1.1
--- /dev/null	Mon Nov  8 13:28:18 2010
+++ packages/kadu/kadu-link.patch	Mon Nov  8 13:28:13 2010
@@ -0,0 +1,21 @@
+--- kadu/kadu-core/CMakeLists.txt~	2009-10-11 14:41:36.000000000 +0200
++++ kadu/kadu-core/CMakeLists.txt	2010-11-08 12:37:46.349213000 +0100
+@@ -163,7 +163,7 @@
+ else (WIN32)
+ 	add_executable (kadu main.cpp main_unix.cpp ${kadu_SRCS} ${MOC_FILES})
+ 	set_target_properties (kadu PROPERTIES ENABLE_EXPORTS ON)
+-	target_link_libraries (kadu ${STATIC_MODULES} ${QT_LIBRARIES} ${LIBGADU_LIBRARIES})
++	target_link_libraries (kadu ${STATIC_MODULES} ${QT_LIBRARIES} ${LIBGADU_LIBRARIES} ${X11_LIBRARIES})
+ endif (WIN32)
+ 
+ install (TARGETS kadu DESTINATION bin)
+--- kadu/CMakeLists.txt~	2010-02-01 09:49:04.000000000 +0100
++++ kadu/CMakeLists.txt	2010-11-08 13:09:58.860517335 +0100
+@@ -135,6 +135,7 @@
+ else (MINGW)
+ 
+ pkg_search_module (LIBGADU REQUIRED libgadu>=1.9.0)
++set (X11_LIBRARIES -lX11)
+ 
+ execute_process (
+ 	COMMAND grep "1.9.0-rc1" ${LIBGADU_INCLUDEDIR}/libgadu.h
================================================================


More information about the pld-cvs-commit mailing list