summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2019-03-24 14:41:05 +0000
committerleot <leot@pkgsrc.org>2019-03-24 14:41:05 +0000
commita2a0af02b9a6e814a01d956b2b87d8238d0c4924 (patch)
tree21aafc6e93c60504856bd11c642e037c9a2ee8ae /mail
parent54e21bb97e0a15cb8e3e5379ddddcfa1b0615cbf (diff)
downloadpkgsrc-a2a0af02b9a6e814a01d956b2b87d8238d0c4924.tar.gz
fdm: Add a comment about patch-shm-mmap.c
Diffstat (limited to 'mail')
-rw-r--r--mail/fdm/distinfo4
-rw-r--r--mail/fdm/patches/patch-shm-mmap.c11
2 files changed, 12 insertions, 3 deletions
diff --git a/mail/fdm/distinfo b/mail/fdm/distinfo
index cb630bf8406..6b9fa6bb67c 100644
--- a/mail/fdm/distinfo
+++ b/mail/fdm/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.12 2019/03/18 10:53:40 leot Exp $
+$NetBSD: distinfo,v 1.13 2019/03/24 14:41:05 leot Exp $
SHA1 (fdm-2.0.tar.gz) = 4da70cca5791457489d9e0a018706a6696609eab
RMD160 (fdm-2.0.tar.gz) = b07dc4ee0b8de3362177d74bd935d1ae4dad961d
SHA512 (fdm-2.0.tar.gz) = 9c321dfd200af7b7d396524a43a3ac4b569cddda0a2096122b935e9d7bdb8101f269341fae5bbd4ad8a2947312774da2d49e03eddc67c6ecbce4e1ff9488ebe2
Size (fdm-2.0.tar.gz) = 180662 bytes
SHA1 (patch-Makefile.am) = 2169ebc8e7c920cdf8492ee2039b410f5a6e358c
-SHA1 (patch-shm-mmap.c) = d6d961768b60e9174350dc7c6439c2d0be10ae1a
+SHA1 (patch-shm-mmap.c) = 3cd0c54c982ddd4702ad921ebf5f1b890b503cd4
diff --git a/mail/fdm/patches/patch-shm-mmap.c b/mail/fdm/patches/patch-shm-mmap.c
index 4cf0b1c5d20..d83f69dcdaf 100644
--- a/mail/fdm/patches/patch-shm-mmap.c
+++ b/mail/fdm/patches/patch-shm-mmap.c
@@ -1,7 +1,16 @@
-$NetBSD: patch-shm-mmap.c,v 1.1 2019/03/18 10:53:41 leot Exp $
+$NetBSD: patch-shm-mmap.c,v 1.2 2019/03/24 14:41:05 leot Exp $
Adjust mremap(2) usage for NetBSD.
+Patch shared upstream via:
+
+ <https://github.com/nicm/fdm/pull/59>
+
+...but rejected.
+
+configure check was changed to only check and enable mremap(2) for
+platforms that also define MREMAP_MAYMOVE.
+
--- shm-mmap.c.orig 2019-02-12 22:08:26.000000000 +0000
+++ shm-mmap.c
@@ -218,7 +218,11 @@ shm_resize(struct shm *shm, size_t nmemb