diff options
Diffstat (limited to 'trinity-base')
-rw-r--r-- | trinity-base/tdelibs/files/tdelibs-backtrace.patch | 12 | ||||
-rw-r--r-- | trinity-base/tdelibs/tdelibs-14.0.13.ebuild | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/trinity-base/tdelibs/files/tdelibs-backtrace.patch b/trinity-base/tdelibs/files/tdelibs-backtrace.patch new file mode 100644 index 00000000..21020b46 --- /dev/null +++ b/trinity-base/tdelibs/files/tdelibs-backtrace.patch @@ -0,0 +1,12 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -374,6 +374,9 @@ + find_package( Backtrace ) + if ( Backtrace_FOUND ) + set ( HAVE_BACKTRACE 1 ) ++ else () ++ set ( Backtrace_LIBRARY "" ) ++ set ( Backtrace_HEADER "" ) + endif () + endif () + check_cxx_source_compiles( "#include <cxxabi.h> diff --git a/trinity-base/tdelibs/tdelibs-14.0.13.ebuild b/trinity-base/tdelibs/tdelibs-14.0.13.ebuild index be6dde79..fb4abe4b 100644 --- a/trinity-base/tdelibs/tdelibs-14.0.13.ebuild +++ b/trinity-base/tdelibs/tdelibs-14.0.13.ebuild @@ -77,6 +77,10 @@ RDEPEND="${DEPEND} ) " +PATCHES=( + "${FILESDIR}/tdelibs-backtrace.patch" +) + src_configure() { local enable_logind="OFF" if use systemd || use elogind; then |