aboutsummaryrefslogtreecommitdiff
path: root/graphics/cairo
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2014-10-18 12:20:42 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2014-10-18 12:20:42 +0000
commit1ebd0e3345fb6f66522e8c837174a3544e080aad (patch)
tree75b44b9298bfa34f3123fa4b2064042302608491 /graphics/cairo
parentb133042d6c8165729774ffa4c9ea411beb0fdc29 (diff)
downloadports-1ebd0e3345fb6f66522e8c837174a3544e080aad.tar.gz
ports-1ebd0e3345fb6f66522e8c837174a3544e080aad.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)
Notes
Notes: svn path=/head/; revision=371117
Diffstat (limited to 'graphics/cairo')
-rw-r--r--graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c b/graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c
new file mode 100644
index 000000000000..ac6a15053d5a
--- /dev/null
+++ b/graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c
@@ -0,0 +1,11 @@
+--- util/cairo-sphinx/sphinx.c.orig 2014-10-06 15:22:24.000000000 -0400
++++ util/cairo-sphinx/sphinx.c 2014-10-06 15:23:04.000000000 -0400
+@@ -1325,7 +1325,7 @@ client_shm (const char *shm_path)
+
+ base = mmap (NULL, DATA_SIZE,
+ PROT_READ | PROT_WRITE,
+- MAP_SHARED | MAP_NORESERVE,
++ MAP_SHARED,
+ fd, 0);
+ close (fd);
+