summaryrefslogtreecommitdiffstats
path: root/kde-runtime/rpc_fix-1.patch
blob: 7b0a8db7539c4fbc249ec9da118623e9518da633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Submitted By:            Ragnar Thomsen <rthomsen_at_linuxfromscratch_dot_org>
Date:                    2012-04-14
Initial Package Version: 4.8.2
Description:             Fixes linking to libtirpc

diff -Naur a/kioslave/nfs/CMakeLists.txt b/kioslave/nfs/CMakeLists.txt
--- a/kioslave/nfs/CMakeLists.txt	2011-07-27 20:36:16.000000000 +0200
+++ b/kioslave/nfs/CMakeLists.txt	2012-04-04 14:26:09.899031662 +0200
@@ -3,8 +3,8 @@
 
 kde4_add_plugin(kio_nfs ${kio_nfs_PART_SRCS})
 
-
-target_link_libraries(kio_nfs   ${KDE4_KIO_LIBS})
+include_directories(/usr/include/tirpc)
+target_link_libraries(kio_nfs   ${KDE4_KIO_LIBS} tirpc)
 
 install(TARGETS kio_nfs  DESTINATION ${PLUGIN_INSTALL_DIR} )