aports/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch

12 lines
250 B
Diff

--- 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__
+#if defined (__GLIBC__)
malloc_trim(0);
#endif
}