void-packages/srcpkgs/fcitx/patches/execinfo.patch
newbluemoon c1e6243d94 fcitx: revert using libexecinfo
Closes: #12594 [via git-merge-pr]
2018-03-16 17:16:41 +01:00

12 lines
442 B
Diff

--- CMakeLists.txt.bak 2017-12-02 13:38:52.784843265 +0100
+++ src/CMakeLists.txt 2017-12-02 13:39:15.028841808 +0100
@@ -1,6 +1,8 @@
include_directories(${LIBINTL_INCLUDE_DIR})
include_directories(${LIBICONV_INCLUDE_DIR})
-include_directories(${LIBEXECINFO_INCLUDE_DIR})
+if(ENABLE_BACKTRACE)
+ include_directories(${LIBEXECINFO_INCLUDE_DIR})
+endif()
include_directories(${DL_INCLUDE_DIR})
include_directories(${PTHREAD_INCLUDE_DIR})