diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-30 15:58:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-30 15:58:34 +0000 |
commit | 667a2bccc28ffcad2cddb4b4cd1085382c521f50 (patch) | |
tree | 0ed54fb79abff9109aca23036b70613a5213a424 /community/gcc6/320-libffi-gnulinux.patch | |
parent | 5a2238501aacaf1b6c86507ac383022e1b09450e (diff) | |
download | aports-667a2bccc28ffcad2cddb4b4cd1085382c521f50.tar.bz2 aports-667a2bccc28ffcad2cddb4b4cd1085382c521f50.tar.xz |
community/gcc6: move from testing
needed too bootstrap openjdk7
Diffstat (limited to 'community/gcc6/320-libffi-gnulinux.patch')
-rw-r--r-- | community/gcc6/320-libffi-gnulinux.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/gcc6/320-libffi-gnulinux.patch b/community/gcc6/320-libffi-gnulinux.patch new file mode 100644 index 0000000000..b3b4fc9317 --- /dev/null +++ b/community/gcc6/320-libffi-gnulinux.patch @@ -0,0 +1,13 @@ +diff --git a/libffi/closures.c.orig b/libffi/closures.c +index 721ff00..22a699c 100644 +--- a/libffi/src/closures.c.orig ++++ b/libffi/src/closures.c +@@ -34,7 +34,7 @@ + #include <ffi_common.h> + + #if !FFI_MMAP_EXEC_WRIT && !FFI_EXEC_TRAMPOLINE_TABLE +-# if __gnu_linux__ && !defined(__ANDROID__) ++# if __linux__ && !defined(__ANDROID__) + /* This macro indicates it may be forbidden to map anonymous memory + with both write and execute permission. Code compiled when this + option is defined will attempt to map such pages once, but if it |