summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2017-06-21 16:42:23 -0500
committerMatthias Maier <tamiko@gentoo.org>2017-06-21 16:51:01 -0500
commit6acaa7787fa53d19b19c0f193b24969a5641a315 (patch)
treeb8373e7a5159ee85678b8548b2ce1ce44bd27eed /dev-libs/libffi/files
parentnet-vpn/wireguard: fewer deps for the git version (diff)
downloadgentoo-6acaa7787fa53d19b19c0f193b24969a5641a315.tar.gz
gentoo-6acaa7787fa53d19b19c0f193b24969a5641a315.tar.bz2
gentoo-6acaa7787fa53d19b19c0f193b24969a5641a315.zip
dev-libs/libffi: drop old versions, bug #622226
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-libs/libffi/files')
-rw-r--r--dev-libs/libffi/files/libffi-3.0.13-emutramp_pax_proc.patch37
-rw-r--r--dev-libs/libffi/files/libffi-3.1-execstack.patch12
-rw-r--r--dev-libs/libffi/files/libffi-3.1-typing_error.patch14
3 files changed, 0 insertions, 63 deletions
diff --git a/dev-libs/libffi/files/libffi-3.0.13-emutramp_pax_proc.patch b/dev-libs/libffi/files/libffi-3.0.13-emutramp_pax_proc.patch
deleted file mode 100644
index c27bd9bf8893..000000000000
--- a/dev-libs/libffi/files/libffi-3.0.13-emutramp_pax_proc.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-2013-05-22 Magnus Granberg <zorry@gentoo.org>
-
- #457194
- * src/closuer.c (emutramp_enabled_check): Check with /proc.
-
---- a/src/closures.c 2013-03-17 23:27:11.000000000 +0100
-+++ b/src/closures.c 2013-04-29 23:26:02.279022022 +0200
-@@ -181,10 +181,26 @@ static int emutramp_enabled = -1;
- static int
- emutramp_enabled_check (void)
- {
-- if (getenv ("FFI_DISABLE_EMUTRAMP") == NULL)
-- return 1;
-- else
-+ char *buf = NULL;
-+ size_t len = 0;
-+ FILE *f;
-+ int ret;
-+ f = fopen ("/proc/self/status", "r");
-+ if (f == NULL)
- return 0;
-+ ret = 0;
-+
-+ while (getline (&buf, &len, f) != -1)
-+ if (!strncmp (buf, "PaX:", 4))
-+ {
-+ char emutramp;
-+ if (sscanf (buf, "%*s %*c%c", &emutramp) == 1)
-+ ret = (emutramp == 'E');
-+ break;
-+ }
-+ free (buf);
-+ fclose (f);
-+ return ret;
- }
-
- #define is_emutramp_enabled() (emutramp_enabled >= 0 ? emutramp_enabled \
diff --git a/dev-libs/libffi/files/libffi-3.1-execstack.patch b/dev-libs/libffi/files/libffi-3.1-execstack.patch
deleted file mode 100644
index b9943aa0a131..000000000000
--- a/dev-libs/libffi/files/libffi-3.1-execstack.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-https://bugs.gentoo.org/511634
-https://sourceware.org/ml/libffi-discuss/2014/msg00058.html
-
---- src/x86/win32.S
-+++ src/x86/win32.S
-@@ -1304,3 +1304,6 @@
-
- #endif /* !_MSC_VER */
-
-+#if defined __ELF__ && defined __linux__
-+ .section .note.GNU-stack,"",@progbits
-+#endif
diff --git a/dev-libs/libffi/files/libffi-3.1-typing_error.patch b/dev-libs/libffi/files/libffi-3.1-typing_error.patch
deleted file mode 100644
index 0e917020e91a..000000000000
--- a/dev-libs/libffi/files/libffi-3.1-typing_error.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://bugs.gentoo.org/511752
-https://sourceware.org/ml/libffi-discuss/2014/msg00059.html
-
---- include/ffi.h.in
-+++ include/ffi.h.in
-@@ -221,7 +221,7 @@ typedef struct {
- #endif
- } ffi_cif;
-
--#if HAVE_LONG_DOUBLE_VARIANT
-+#if @HAVE_LONG_DOUBLE_VARIANT@
- /* Used to adjust size/alignment of ffi types. */
- void ffi_prep_types (ffi_abi abi);
- # endif