From aaa680c41f65f2ac24364a0b4307b5aef00c0368 Mon Sep 17 00:00:00 2001 From: Denis Kozadaev Date: Thu, 30 Jan 2020 22:13:12 +0300 Subject: DilOS: tdepim build pack Signed-off-by: Denis Kozadaev --- dilos/tdepim/debian/patches/dilos.patch | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 dilos/tdepim/debian/patches/dilos.patch (limited to 'dilos/tdepim/debian/patches/dilos.patch') diff --git a/dilos/tdepim/debian/patches/dilos.patch b/dilos/tdepim/debian/patches/dilos.patch new file mode 100644 index 000000000..f8affdd33 --- /dev/null +++ b/dilos/tdepim/debian/patches/dilos.patch @@ -0,0 +1,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 + #include + +-#ifdef HAVE_FCNTL_H ++#if defined(HAVE_FCNTL_H) || defined(__dilos__) + #include + #endif + -- cgit v1.2.1