Merge pull request #2114 from pullmoll/akonadi

akonadi: unbreak musl
This commit is contained in:
Jürgen Buchmüller 2015-07-28 14:59:58 +02:00
commit f0522f239e
2 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,15 @@
The check for Backtrace_FOUND must use #if not #ifdef,
because there is a "#define Backtrace_FOUND 0" in case
there is no backtrace() functionality (i.e. musl libc)
--- shared/akcrash.cpp 2014-08-10 12:38:58.000000000 +0200
+++ shared/akcrash.cpp 2015-07-28 14:32:27.230877108 +0200
@@ -39,7 +39,7 @@
QString s;
/* FIXME: is there an equivalent for windows? */
-#ifdef Backtrace_FOUND
+#if Backtrace_FOUND
void *trace[256];
int n = backtrace( trace, 256 );
if ( !n ) {

View File

@ -1,13 +1,13 @@
# Template file for 'akonadi'
pkgname=akonadi
version=1.13.0
revision=3
revision=4
build_style=cmake
configure_args="-DAKONADI_BUILD_TESTS=OFF -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE -DDATABASE_BACKEND=SQLITE -DWITH_SOPRANO=OFF"
hostmakedepends="cmake automoc4 pkg-config libxslt"
makedepends="shared-mime-info sqlite-devel boost-devel qt-devel phonon-devel"
depends="shared-mime-info"
short_desc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
short_desc="PIM layer providing an asynchronous API to access all kinds of PIM data"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://community.kde.org/KDE_PIM/Akonadi"