mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ruby/json: Stable for HPPA PPC64 (bug #518094).
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
Fix compilation issue with ruby22.
|
||||
|
||||
See https://github.com/flori/json/issues/229
|
||||
|
||||
Taken from the ruby-core changes.
|
||||
|
||||
--- ext/json/ext/fbuffer/fbuffer.h.orig 2014-12-27 21:27:31.701991610 +0100
|
||||
+++ ext/json/ext/fbuffer/fbuffer.h 2014-12-27 21:28:11.252956858 +0100
|
||||
@@ -172,7 +172,7 @@
|
||||
|
||||
static VALUE fbuffer_to_s(FBuffer *fb)
|
||||
{
|
||||
- VALUE result = rb_str_new(FBUFFER_PAIR(fb));
|
||||
+ VALUE result = rb_str_new(FBUFFER_PTR(fb), FBUFFER_LEN(fb));
|
||||
fbuffer_free(fb);
|
||||
FORCE_UTF8(result);
|
||||
return result;
|
||||
@@ -17,7 +17,7 @@ DESCRIPTION="A JSON implementation as a Ruby extension"
|
||||
HOMEPAGE="https://github.com/flori/json"
|
||||
LICENSE="|| ( Ruby GPL-2 )"
|
||||
|
||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user