void-packages/srcpkgs/kdelibs/patches/fix-kdeui-cmakelists_txt.patch

14 lines
589 B
Diff

--- kdeui/CMakeLists.txt 2014-11-06 23:33:50.000000000 +0100
+++ kdeui/CMakeLists.txt 2017-12-17 22:16:31.058116483 +0100
@@ -312,9 +312,7 @@
set(kdeui_LIB_SRCS ${kdeui_LIB_SRCS} util/kwallet_mac.cpp util/qosxkeychain.cpp)
add_definitions(-DMAC_USE_OSXKEYCHAIN)
else(Q_WS_MAC AND MAC_USE_OSXKEYCHAIN)
- set(kdeui_LIB_SRCS ${kdeui_LIB_SRCS} util/kwallet.cpp)
-else(Q_WS_MAC AND MAC_USE_OSXKEYCHAIN)
- set(kdeui_LIB_SRCS ${kdeui_LIB_SRCS} util/kwallet.cpp)
+ set(kdeui_LIB_SRCS ${kdeui_LIB_SRCS} util/kwallet.cpp)
endif(Q_WS_MAC AND MAC_USE_OSXKEYCHAIN)
if(NOT WINCE)