summaryrefslogtreecommitdiff
path: root/devel/libunwind/files/patch-tests-mapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libunwind/files/patch-tests-mapper.c')
-rw-r--r--devel/libunwind/files/patch-tests-mapper.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/libunwind/files/patch-tests-mapper.c b/devel/libunwind/files/patch-tests-mapper.c
new file mode 100644
index 000000000000..9c122053efb1
--- /dev/null
+++ b/devel/libunwind/files/patch-tests-mapper.c
@@ -0,0 +1,12 @@
+--- tests/mapper.c.orig 2014-10-06 14:46:27.000000000 -0400
++++ tests/mapper.c 2014-10-06 14:47:00.000000000 -0400
+@@ -39,6 +39,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE
+ #if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
+ # define MAP_ANONYMOUS MAP_ANON
+ #endif
++#if !defined(MAP_NORESERVE)
++# define MAP_NORESERVE 0
++#endif
+
+ int
+ main (void)