mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
lang/ruby31: Update to 3.1.6
ReleaseNotes: https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/
This commit is contained in:
parent
8fb1c76c77
commit
f01697d25c
3 changed files with 4 additions and 33 deletions
|
@ -148,7 +148,7 @@ RUBY?= ${LOCALBASE}/bin/ruby${RUBY_SUFFIX}
|
|||
#
|
||||
# Ruby 3.1
|
||||
#
|
||||
RUBY_DISTVERSION= 3.1.5
|
||||
RUBY_DISTVERSION= 3.1.6
|
||||
RUBY_PORTREVISION= 0
|
||||
|
||||
. elif ${RUBY_VER} == 3.2
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1713880378
|
||||
SHA256 (ruby/ruby-3.1.5.tar.xz) = f9375a45bdf1cc41298558e7ac6c367f7b6cdcccf7196618b21f0886ff583b91
|
||||
SIZE (ruby/ruby-3.1.5.tar.xz) = 15293020
|
||||
TIMESTAMP = 1717025731
|
||||
SHA256 (ruby/ruby-3.1.6.tar.xz) = 597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102
|
||||
SIZE (ruby/ruby-3.1.6.tar.xz) = 15273916
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
--- util.c.orig 2022-04-12 11:11:15 UTC
|
||||
+++ util.c
|
||||
@@ -218,6 +218,7 @@ typedef int (cmpfunc_t)(const void*, const void*, void
|
||||
|
||||
typedef int (cmpfunc_t)(const void*, const void*, void*);
|
||||
|
||||
+#if !defined HAVE_GNU_QSORT_R
|
||||
#if defined HAVE_QSORT_S && defined RUBY_MSVCRT_VERSION
|
||||
/* In contrast to its name, Visual Studio qsort_s is incompatible with
|
||||
* C11 in the order of the comparison function's arguments, and same
|
||||
@@ -263,7 +264,7 @@ ruby_qsort(void* base, const size_t nel, const size_t
|
||||
qsort_s(base, nel, size, cmp, d);
|
||||
}
|
||||
# define HAVE_GNU_QSORT_R 1
|
||||
-#elif !defined HAVE_GNU_QSORT_R
|
||||
+#else
|
||||
/* mm.c */
|
||||
|
||||
#define mmtype long
|
||||
@@ -530,7 +531,8 @@ ruby_qsort(void* base, const size_t nel, const size_t
|
||||
else goto nxt; /* need not to sort both sides */
|
||||
}
|
||||
}
|
||||
-#endif /* HAVE_GNU_QSORT_R */
|
||||
+#endif
|
||||
+#endif /* !HAVE_GNU_QSORT_R */
|
||||
|
||||
char *
|
||||
ruby_strdup(const char *str)
|
Loading…
Add table
Reference in a new issue