diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-16 05:02:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-16 05:02:38 +0100 |
commit | f1bc537f089cc8477a9a18db597cb349e1b00e91 (patch) | |
tree | c48eb730c43e5f35729fabbe5cb4bfbe4a1bc794 /dev-ruby/posix-spawn/files | |
parent | cb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa (diff) |
gentoo resync : 16.06.2018
Diffstat (limited to 'dev-ruby/posix-spawn/files')
-rw-r--r-- | dev-ruby/posix-spawn/files/posix-spawn-0.3.13-x86.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/posix-spawn/files/posix-spawn-0.3.13-x86.patch b/dev-ruby/posix-spawn/files/posix-spawn-0.3.13-x86.patch new file mode 100644 index 000000000000..b96579b18281 --- /dev/null +++ b/dev-ruby/posix-spawn/files/posix-spawn-0.3.13-x86.patch @@ -0,0 +1,23 @@ +From 5201e921a788fbb97f14ea0c617a2213dc3da1ca Mon Sep 17 00:00:00 2001 +From: Pascal Terjan <pterjan@google.com> +Date: Sun, 20 Aug 2017 12:13:15 +0100 +Subject: [PATCH] Fix build when SIZEOF_INT == SIZEOF_LONG + +Signed-off-by: Aman Gupta <aman@tmm1.net> +--- + ext/posix-spawn.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ext/posix-spawn.c b/ext/posix-spawn.c +index 1659bed..2e4c4de 100644 +--- a/ext/posix-spawn.c ++++ b/ext/posix-spawn.c +@@ -61,7 +61,7 @@ posixspawn_obj_to_fd(VALUE obj) + * rb_fix2int takes care of raising if the provided object is a + * Bignum and is out of range of an int + */ +- fd = (int)rb_fix2int(obj); ++ fd = FIX2INT(obj); + break; + + case T_SYMBOL: |