aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2011-10-29 01:07:44 +0000
committerAlberto Villa <avilla@FreeBSD.org>2011-10-29 01:07:44 +0000
commitc49018fc33f0c863fe3b9150b5ba3300269970a0 (patch)
treec3075021bfeb70033fbbb287c18c2c5c2508f03f /x11
parentc6543ee7db0d095605919daf6c3222e8d42ae7d3 (diff)
downloadports-c49018fc33f0c863fe3b9150b5ba3300269970a0.tar.gz
ports-c49018fc33f0c863fe3b9150b5ba3300269970a0.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs4/files/patch-kdecore__util__kshareddatacache_p.h12
1 files changed, 12 insertions, 0 deletions
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