aboutsummaryrefslogtreecommitdiffstats
path: root/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch
diff options
context:
space:
mode:
authork0r10n <k0r10n.dev@gmail.com>2014-10-19 21:17:50 +0400
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-20 12:45:43 +0000
commit7bb647638dd9b4432d2ed80f6bfa7df041e9d7c8 (patch)
tree5d1526e84016e1c854fca3913113df4c5f29f86e /testing/baloo/no-malloc-xapiandatabase-4.13.3.patch
parent83904cb43ba81ae7f978c3d5310a6f296f2c2f51 (diff)
downloadaports-7bb647638dd9b4432d2ed80f6bfa7df041e9d7c8.tar.bz2
aports-7bb647638dd9b4432d2ed80f6bfa7df041e9d7c8.tar.xz
testing/baloo: Using __GLIBC__ instead of __GNUC__ in patch
Diffstat (limited to 'testing/baloo/no-malloc-xapiandatabase-4.13.3.patch')
-rw-r--r--testing/baloo/no-malloc-xapiandatabase-4.13.3.patch13
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)