aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-12-01 17:26:53 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-12-01 17:26:53 +0100
commit3ce3c4fd596debefbad77328a9b62a39eccf753c (patch)
tree8ea8842d946335dbd124e71336a11b928481c544 /unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch
parent62b8ba5f8fe6d62d56b2d078b4f12f72830ee4af (diff)
downloadaports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.bz2
aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.xz
unmaintained/*: purge aports not touched since v3.5.0
We agreed with ncopa on #alpine-devel (2017-12-01 16:20 UTC) to periodically purge aports in unmaintained that haven't been touched in last 1 year (2 releases).
Diffstat (limited to 'unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch')
-rw-r--r--unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch b/unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch
deleted file mode 100644
index 3779295bda..0000000000
--- a/unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From d8872a3274bb6d5b0ab327c4b85792009970c841 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Tue, 27 May 2014 15:20:28 +0200
-Subject: [PATCH] Only use POSIX_SPAWN_USEVFORK if defined or if GNU libc
-
-musl libc does not have it
-
-fixes #54
----
- ext/posix-spawn.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/ext/posix-spawn.c b/ext/posix-spawn.c
-index 501423d..29101f8 100644
---- a/ext/posix-spawn.c
-+++ b/ext/posix-spawn.c
-@@ -396,9 +396,9 @@ rb_posixspawn_pspawn(VALUE self, VALUE env, VALUE argv, VALUE options)
- sigemptyset(&mask);
- posix_spawnattr_setsigmask(&attr, &mask);
-
--#if defined(POSIX_SPAWN_USEVFORK) || defined(__linux__)
-- /* Force USEVFORK on linux. If this is undefined, it's probably because
-- * you forgot to define _GNU_SOURCE at the top of this file.
-+#if defined(POSIX_SPAWN_USEVFORK) || defined(__GLIBC__)
-+ /* Force USEVFORK on GNU libc. If this is undefined, it's probably
-+ * because you forgot to define _GNU_SOURCE at the top of this file.
- */
- flags |= POSIX_SPAWN_USEVFORK;
- #endif
---
-1.9.3
-