diff options
Diffstat (limited to 'main/ruby/get-ruby_nonempty_memcpy-to-have-c-linkage.patch')
-rw-r--r-- | main/ruby/get-ruby_nonempty_memcpy-to-have-c-linkage.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/main/ruby/get-ruby_nonempty_memcpy-to-have-c-linkage.patch b/main/ruby/get-ruby_nonempty_memcpy-to-have-c-linkage.patch deleted file mode 100644 index fdd2ee360fc..00000000000 --- a/main/ruby/get-ruby_nonempty_memcpy-to-have-c-linkage.patch +++ /dev/null @@ -1,31 +0,0 @@ -Patch-Source: https://github.com/ruby/ruby/pull/4429 -From 29f6f79e7396018962eb25c5f5e409f5fe28a73b Mon Sep 17 00:00:00 2001 -From: xtkoba <69125751+xtkoba@users.noreply.github.com> -Date: Thu, 29 Apr 2021 23:26:16 +0900 -Subject: [PATCH] Get `ruby_nonempty_memcpy` to have C linkage - -Fixes [Bug #17788] ---- - include/ruby/internal/memory.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/ruby/internal/memory.h b/include/ruby/internal/memory.h -index 7d24df494512..1f953874163d 100644 ---- a/include/ruby/internal/memory.h -+++ b/include/ruby/internal/memory.h -@@ -256,6 +256,7 @@ rb_alloc_tmp_buffer2(volatile VALUE *store, long count, size_t elsize) - } - - #ifndef __MINGW32__ -+RBIMPL_SYMBOL_EXPORT_BEGIN() - RBIMPL_ATTR_NOALIAS() - RBIMPL_ATTR_NONNULL((1)) - RBIMPL_ATTR_RETURNS_NONNULL() -@@ -272,6 +273,7 @@ ruby_nonempty_memcpy(void *dest, const void *src, size_t n) - return dest; - } - } -+RBIMPL_SYMBOL_EXPORT_END() - #undef memcpy - #define memcpy ruby_nonempty_memcpy - #endif |