summaryrefslogtreecommitdiffstats
path: root/dilos/tdepim/debian/patches/dilos.patch
blob: f8affdd33fbd020638349a058d40cff63f31f251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Index: tdepim/cmake/modules/TDEMacros.cmake
===================================================================
--- tdepim.orig/cmake/modules/TDEMacros.cmake
+++ tdepim/cmake/modules/TDEMacros.cmake
@@ -833,7 +833,7 @@ macro( tde_add_library _arg_target )
 
   # set embedded archives
   if( _embed )
-    list( INSERT _link 0 -Wl,-whole-archive ${_embed} -Wl,-no-whole-archive )
+    list( INSERT _link 0 -Wl,-zallextract ${_embed} -Wl,-zdefaultextract )
   endif( _embed )
 
   # set link libraries
Index: tdepim/mimelib/CMakeLists.txt
===================================================================
--- tdepim.orig/mimelib/CMakeLists.txt
+++ tdepim/mimelib/CMakeLists.txt
@@ -43,7 +43,7 @@ tde_add_library( mimelib SHARED
     dwstring.cpp text.cpp token.cpp uuencode.cpp
     binhex.cpp
   VERSION 1.0.1
-  LINK ${TQT_LIBRARIES} ${TDE_LIB_DIR}/libtdefakes_pic.a
+  LINK ${TQT_LIBRARIES} ${TDE_LIB_DIR}/libtdefakes_pic.a socket nsl
   DESTINATION ${LIB_INSTALL_DIR}
 )
 
Index: tdepim/kmail/kmfoldermbox.cpp
===================================================================
--- tdepim.orig/kmail/kmfoldermbox.cpp
+++ tdepim/kmail/kmfoldermbox.cpp
@@ -46,7 +46,7 @@
 #include <ctype.h>
 #include <unistd.h>
 
-#ifdef HAVE_FCNTL_H
+#if	defined(HAVE_FCNTL_H) || defined(__dilos__)
 #include <fcntl.h>
 #endif