Mail archive
alpine-devel

[alpine-devel] [PATCH] testing/baloo: Using __GLIBC__ instead of __GNUC__ in patch

From: k0r10n <k0r10n.dev_at_gmail.com>
Date: Sun, 19 Oct 2014 21:17:50 +0400

---
 testing/baloo/APKBUILD                              |  6 +++---
 testing/baloo/no-malloc-xapiandatabase-4.13.3.patch | 13 ++++++-------
 2 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/testing/baloo/APKBUILD b/testing/baloo/APKBUILD
index 663eeb6..3a82d12 100644
--- a/testing/baloo/APKBUILD
+++ b/testing/baloo/APKBUILD
_at_@ -41,8 +41,8 @@ package() {
 }
 
 md5sums="00d818ad48d4ef618e86f5094ebebaa8  baloo-4.13.3.tar.xz
-33b597cf676a4730e579260f1dfcb0f7  no-malloc-xapiandatabase-4.13.3.patch"
+357fadd2779d8243d5c060583ae12aa4  no-malloc-xapiandatabase-4.13.3.patch"
 sha256sums="c7467bf518dc23e319b581dbc1dff84cd8d0b03516a1d25bde0aa0cd7bbad043  baloo-4.13.3.tar.xz
-5e7880fb65378baeac351d5b612b89d300ec5b7345a99e71accd8f42da9e3189  no-malloc-xapiandatabase-4.13.3.patch"
+4bded5e80c9e49dff0a8c2b767b63a39d46f380cb2ab99397d77f0557d236458  no-malloc-xapiandatabase-4.13.3.patch"
 sha512sums="4f476ca4b1462b89c0f12da297cf629cf23bcd6aceb2c1d83caf45e89a55fb20d6effcbc4ed4c9b08c24877f899beb7aa462b2f15e0bb5aba719e613f768862d  baloo-4.13.3.tar.xz
-d077528340ebdccfeb2b0978b75fb879fbb44024937b0ff8d6d18db58a85a904335cdcda2bf1e0ae403f6c93dd241e64b52789e1808cb284baf8ed55c363b26d  no-malloc-xapiandatabase-4.13.3.patch"
+b3b9f966acf72da52df378ee9885c3b5d66d6d7bd976fa3b7b1a0a19e69fdd7fa1a2261438e247c4a6dc8c125fb25b6d41e189b163d171d99b7bc283e4266c99  no-malloc-xapiandatabase-4.13.3.patch"
diff --git a/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch b/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch
index 9fe8d63..9c7390d 100644
--- a/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch
+++ b/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch
_at_@ -1,12 +1,11 @@
---- a/src/xapian/xapiandatabase.cpp
-+++ b/src/xapian/xapiandatabase.cpp
-_at_@ -140,9 +140,6 @@
+--- baloo-4.13.3/src/xapian/xapiandatabase.cpp.orig
++++ baloo-4.13.3/src/xapian/xapiandatabase.cpp
+_at_@ -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)
-- 
2.0.0
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sun Oct 19 2014 - 21:17:50 UTC