diff options
Diffstat (limited to 'testing/baloo/no-malloc-xapiandatabase-4.13.3.patch')
-rw-r--r-- | testing/baloo/no-malloc-xapiandatabase-4.13.3.patch | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch b/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch index 9fe8d63337..9c7390d26d 100644 --- a/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch +++ b/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch @@ -1,12 +1,11 @@ ---- a/src/xapian/xapiandatabase.cpp -+++ b/src/xapian/xapiandatabase.cpp -@@ -140,9 +140,6 @@ +--- baloo-4.13.3/src/xapian/xapiandatabase.cpp.orig ++++ baloo-4.13.3/src/xapian/xapiandatabase.cpp +@@ -140,7 +140,7 @@ m_docsToAdd.clear(); m_docsToRemove.clear(); -#ifdef __GNUC__ -- malloc_trim(0); --#endif ++#if defined (__GLIBC__) + malloc_trim(0); + #endif } - - XapianDocument XapianDatabase::document(uint id) |