SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
lang/gcc/8/patches/patch-libffi_src_closures_c
Normal file
18
lang/gcc/8/patches/patch-libffi_src_closures_c
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- libffi/src/closures.c.orig Mon Jan 12 17:19:59 2015
|
||||
+++ libffi/src/closures.c Tue Aug 23 15:48:20 2016
|
||||
@@ -525,6 +525,7 @@ dlmmap (void *start, size_t length, int prot,
|
||||
printf ("mapping in %zi\n", length);
|
||||
#endif
|
||||
|
||||
+#if 0
|
||||
if (execfd == -1 && is_emutramp_enabled ())
|
||||
{
|
||||
ptr = mmap (start, length, prot & ~PROT_EXEC, flags, fd, offset);
|
||||
@@ -543,6 +544,7 @@ dlmmap (void *start, size_t length, int prot,
|
||||
with ((prot & ~PROT_WRITE) | PROT_EXEC) and mremap with
|
||||
MREMAP_DUP and prot at this point. */
|
||||
}
|
||||
+#endif
|
||||
|
||||
if (execsize == 0 || execfd == -1)
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue