summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@cn.fujitsu.com>2020-02-12 10:35:06 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-15 10:26:42 +0000
commit717ba0a25669f469c7698399a79ad21661324edc (patch)
tree7e3117fcaaa7b2a4dc324416d87baaba87b46056 /meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
parentf4b77888144cbcb0fcf851544ee73b81d92f234a (diff)
downloadpoky-717ba0a25669f469c7698399a79ad21661324edc.tar.gz
ruby: upgrade 2.6.5 -> 2.7.0
0003-configure.ac-check-finite-isinf-isnan-as-macros-firs.patch Removed since it is included in 2.7.0. refresh the following patch: 0002-Obey-LDFLAGS-for-the-link-of-libruby.patch add the following patch to solve build error: 0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch [error message] ERROR: ruby-2.7.0-r0 do_package_qa: QA Issue: /usr/lib/ruby/gems/2.7.0/gems/racc-1.4.16/bin/y2racc contained in package ruby requires /usr/local/bin/ruby, but no providers found in RDEPENDS_ruby? [file-rdeps] format of file COPYING is updated. LEGAL notice information is updated. (From OE-Core rev: 3cdf5da514b424a6d78ba4e1412331b6cf2b3bff) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch')
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch b/meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
new file mode 100644
index 0000000000..f316bed7bd
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
@@ -0,0 +1,38 @@
1From eed7bc855fd8d232d4d203cc9027dd07cee8eca2 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@cn.fujitsu.com>
3Date: Sat, 8 Feb 2020 15:16:14 +0800
4Subject: [PATCH] Modify shebang of libexec/y2racc and libexec/racc2y.
5
6change /usr/local/bin/ruby to /usr/bin/env ruby.
7
8Upstream-Status: Pending
9
10Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
11---
12 libexec/racc2y | 2 +-
13 libexec/y2racc | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/libexec/racc2y b/libexec/racc2y
17index f88d73ed2c..74e49cfa21 100755
18--- a/libexec/racc2y
19+++ b/libexec/racc2y
20@@ -1,4 +1,4 @@
21-#!/usr/local/bin/ruby
22+#!/usr/bin/env ruby
23 #
24 # $Id$
25 #
26diff --git a/libexec/y2racc b/libexec/y2racc
27index 7933f94153..36daf864e1 100755
28--- a/libexec/y2racc
29+++ b/libexec/y2racc
30@@ -1,4 +1,4 @@
31-#!/usr/local/bin/ruby
32+#!/usr/bin/env ruby
33 #
34 # $Id$
35 #
36--
372.17.1
38