mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-board/camato: fix crash on keyboard events
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -18,6 +18,10 @@ KEYWORDS="~amd64 ~x86"
|
||||
|
||||
ruby_add_rdepend dev-ruby/ruby-gtk2
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-implicit-string.patch
|
||||
)
|
||||
|
||||
all_ruby_prepare() {
|
||||
# this is really single target, but ruby-single is too limited
|
||||
local ruby=$(ruby_get_use_implementations)
|
||||
@@ -0,0 +1,8 @@
|
||||
Crashes on keyboard events otherwise.
|
||||
--- a/map.rb
|
||||
+++ b/map.rb
|
||||
@@ -35,3 +35,3 @@
|
||||
if i < 0 or i > 255 then i = 0 end
|
||||
- my_str[0] = i
|
||||
+ my_str[0] = i.to_s
|
||||
set_resource(my_str)
|
||||
Reference in New Issue
Block a user