From c49018fc33f0c863fe3b9150b5ba3300269970a0 Mon Sep 17 00:00:00 2001 From: Alberto Villa Date: Sat, 29 Oct 2011 01:07:44 +0000 Subject: [PATCH] - Silence useless warning to reduce noise. --- .../files/patch-kdecore__util__kshareddatacache_p.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 x11/kdelibs4/files/patch-kdecore__util__kshareddatacache_p.h diff --git a/x11/kdelibs4/files/patch-kdecore__util__kshareddatacache_p.h b/x11/kdelibs4/files/patch-kdecore__util__kshareddatacache_p.h new file mode 100644 index 000000000000..4b485dd4987e --- /dev/null +++ b/x11/kdelibs4/files/patch-kdecore__util__kshareddatacache_p.h @@ -0,0 +1,12 @@ +--- ./kdecore/util/kshareddatacache_p.h.orig 2011-10-28 05:24:56.297083311 -0700 ++++ ./kdecore/util/kshareddatacache_p.h 2011-10-28 05:25:42.467076066 -0700 +@@ -423,9 +423,6 @@ + #ifdef __GNUC__ + #warning "This system does not seem to support posix_fallocate, which is needed to ensure KSharedDataCache's underlying files are fully committed to disk to avoid crashes with low disk space." + #endif +- kWarning(ksdcArea()) << "This system misses support for posix_fallocate()" +- " -- ensure this partition has room for at least" +- << fileSize << "bytes."; + + // TODO: It's possible to emulate the functionality, but doing so + // overwrites the data in the file so we don't do this. If you were to add