diff options
author | jhb <jhb@FreeBSD.org> | 2014-10-18 20:20:42 +0800 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-10-18 20:20:42 +0800 |
commit | e8ebd9dc531b489ce35a70cdf34e2ca3a73b7c8e (patch) | |
tree | 75b44b9298bfa34f3123fa4b2064042302608491 /databases | |
parent | 7a11983187598adbbcc47f1e58f14eb473db899b (diff) | |
download | freebsd-ports-graphics-e8ebd9dc531b489ce35a70cdf34e2ca3a73b7c8e.tar.gz freebsd-ports-graphics-e8ebd9dc531b489ce35a70cdf34e2ca3a73b7c8e.tar.zst freebsd-ports-graphics-e8ebd9dc531b489ce35a70cdf34e2ca3a73b7c8e.zip |
The MAP_NORESERVE flag to mmap() has never been implemented in FreeBSD and
is being removed. No portrev bump needed since the kernel will continue to
accept this flag for old binaries even after support for it in new binaries
is removed.
PR: 193961
Approved by: portmgr (antoine)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/galera/files/patch-galerautils-src-gu_mmap.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/galera/files/patch-galerautils-src-gu_mmap.cpp b/databases/galera/files/patch-galerautils-src-gu_mmap.cpp new file mode 100644 index 00000000000..a1777bdb1d2 --- /dev/null +++ b/databases/galera/files/patch-galerautils-src-gu_mmap.cpp @@ -0,0 +1,11 @@ +--- galerautils/src/gu_mmap.cpp.orig 2014-10-15 11:08:26.000000000 -0400 ++++ galerautils/src/gu_mmap.cpp 2014-10-15 11:09:06.000000000 -0400 +@@ -21,7 +21,7 @@ + : + size (fd.size()), + ptr (mmap (NULL, size, PROT_READ|PROT_WRITE, +- MAP_SHARED|MAP_NORESERVE, fd.get(), 0)), ++ MAP_SHARED, fd.get(), 0)), + mapped (ptr != GU_MAP_FAILED) + { + if (!mapped) |