diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-12-13 12:11:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-18 19:48:00 +0000 |
commit | ed8f8db84c7cc47d007038effa1481b260921502 (patch) | |
tree | 2a8050baa235532505868b30084eefc57c8e2914 /meta/recipes-devtools/ruby | |
parent | 9b7cef5fc21f7d28dbf9e327fc7bbd3693619298 (diff) | |
download | poky-ed8f8db84c7cc47d007038effa1481b260921502.tar.gz |
ruby: update 3.1.2 -> 3.1.3
(From OE-Core rev: 402254a5f841520b132508c21465111d33b6eb1a)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby/0001-Remove-dependency-on-libcapstone.patch | 36 | ||||
-rw-r--r-- | meta/recipes-devtools/ruby/ruby_3.1.3.bb (renamed from meta/recipes-devtools/ruby/ruby_3.1.2.bb) | 3 |
2 files changed, 1 insertions, 38 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/0001-Remove-dependency-on-libcapstone.patch b/meta/recipes-devtools/ruby/ruby/0001-Remove-dependency-on-libcapstone.patch deleted file mode 100644 index 5d0f8fcc09..0000000000 --- a/meta/recipes-devtools/ruby/ruby/0001-Remove-dependency-on-libcapstone.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 222203297966f312109e8eaa2520f2cf2f59c09d Mon Sep 17 00:00:00 2001 | ||
2 | From: Alan Wu <XrXr@users.noreply.github.com> | ||
3 | Date: Thu, 31 Mar 2022 17:26:28 -0400 | ||
4 | Subject: [PATCH] Remove dependency on libcapstone | ||
5 | |||
6 | We have received reports of build failures due to this configuration | ||
7 | check modifying compile flags. Since only YJIT devs use this library | ||
8 | we can remove it to make Ruby easier to build for users. | ||
9 | |||
10 | See: https://github.com/rbenv/ruby-build/discussions/1933 | ||
11 | |||
12 | Upstream-Status: Backport | ||
13 | --- | ||
14 | configure.ac | 9 --------- | ||
15 | 1 file changed, 9 deletions(-) | ||
16 | |||
17 | Index: ruby-3.1.2/configure.ac | ||
18 | =================================================================== | ||
19 | --- ruby-3.1.2.orig/configure.ac | ||
20 | +++ ruby-3.1.2/configure.ac | ||
21 | @@ -1244,15 +1244,6 @@ AC_CHECK_LIB(dl, dlopen) # Dynamic linki | ||
22 | AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX | ||
23 | AC_CHECK_LIB(socket, shutdown) # SunOS/Solaris | ||
24 | |||
25 | -if pkg-config --exists capstone; then | ||
26 | - CAPSTONE_CFLAGS=`pkg-config --cflags capstone` | ||
27 | - CAPSTONE_LIB_L=`pkg-config --libs-only-L capstone` | ||
28 | - LDFLAGS="$LDFLAGS $CAPSTONE_LIB_L" | ||
29 | - CFLAGS="$CFLAGS $CAPSTONE_CFLAGS" | ||
30 | -fi | ||
31 | - | ||
32 | -AC_CHECK_LIB(capstone, cs_open) # Capstone disassembler for debugging YJIT | ||
33 | - | ||
34 | dnl Checks for header files. | ||
35 | AC_HEADER_DIRENT | ||
36 | dnl AC_HEADER_STDC has been checked in AC_USE_SYSTEM_EXTENSIONS | ||
diff --git a/meta/recipes-devtools/ruby/ruby_3.1.2.bb b/meta/recipes-devtools/ruby/ruby_3.1.3.bb index 0115daf22a..c8454da3a9 100644 --- a/meta/recipes-devtools/ruby/ruby_3.1.2.bb +++ b/meta/recipes-devtools/ruby/ruby_3.1.3.bb | |||
@@ -29,7 +29,6 @@ SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ | |||
29 | file://0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch \ | 29 | file://0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch \ |
30 | file://0006-Make-gemspecs-reproducible.patch \ | 30 | file://0006-Make-gemspecs-reproducible.patch \ |
31 | file://0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch \ | 31 | file://0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch \ |
32 | file://0001-Remove-dependency-on-libcapstone.patch \ | ||
33 | " | 32 | " |
34 | UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/" | 33 | UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/" |
35 | 34 | ||
@@ -50,7 +49,7 @@ do_configure:prepend() { | |||
50 | 49 | ||
51 | DEPENDS:append:libc-musl = " libucontext" | 50 | DEPENDS:append:libc-musl = " libucontext" |
52 | 51 | ||
53 | SRC_URI[sha256sum] = "61843112389f02b735428b53bb64cf988ad9fb81858b8248e22e57336f24a83e" | 52 | SRC_URI[sha256sum] = "5ea498a35f4cd15875200a52dde42b6eb179e1264e17d78732c3a57cd1c6ab9e" |
54 | 53 | ||
55 | PACKAGECONFIG ??= "" | 54 | PACKAGECONFIG ??= "" |
56 | PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | 55 | PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |