void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

libffi_gnulinux.patch (449B)


      1--- libffi/src/closures.c.orig
      2+++ libffi/src/closures.c
      3@@ -34,7 +34,7 @@
      4 #include <ffi_common.h>
      5
      6 #if !FFI_MMAP_EXEC_WRIT && !FFI_EXEC_TRAMPOLINE_TABLE
      7-# if __gnu_linux__ && !defined(__ANDROID__)
      8+# if __linux__ && !defined(__ANDROID__)
      9 /* This macro indicates it may be forbidden to map anonymous memory
     10    with both write and execute permission.  Code compiled when this
     11    option is defined will attempt to map such pages once, but if it