summaryrefslogtreecommitdiff
path: root/package/ruby/patches/patch-io_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-16 08:30:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-16 08:37:56 +0200
commit631751dc9fc77a1f7c5a1c2b12430f599293167d (patch)
tree2e99336793f1eb2a292c8ba019c2c7192f3b0c5f /package/ruby/patches/patch-io_c
parente41f6a3e889182e6ff219824bc45b53716644f64 (diff)
fix ruby compile, update to latest
Diffstat (limited to 'package/ruby/patches/patch-io_c')
-rw-r--r--package/ruby/patches/patch-io_c20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/ruby/patches/patch-io_c b/package/ruby/patches/patch-io_c
deleted file mode 100644
index dea7f46fd..000000000
--- a/package/ruby/patches/patch-io_c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ruby-2.0.0-p247.orig/io.c 2013-06-12 16:23:39.000000000 +0200
-+++ ruby-2.0.0-p247/io.c 2013-10-26 23:02:53.000000000 +0200
-@@ -8483,7 +8483,7 @@ do_ioctl(int fd, ioctl_req_t cmd, long n
-
- #define DEFULT_IOCTL_NARG_LEN (256)
-
--#ifdef __linux__
-+#if defined(__GLIBC__) && defined(__linux__)
- static long
- linux_iocparm_len(ioctl_req_t cmd)
- {
-@@ -8516,7 +8516,7 @@ ioctl_narg_len(ioctl_req_t cmd)
- #endif
- #ifdef IOCPARM_LEN
- len = IOCPARM_LEN(cmd); /* on BSDish systems we're safe */
--#elif defined(__linux__)
-+#elif defined(__GLIBC__) && defined(__linux__)
- len = linux_iocparm_len(cmd);
- #else
- /* otherwise guess at what's safe */