dev-ruby/json: Stable for HPPA PPC64 (bug #518094).

Package-Manager: portage-2.2.20.1
This commit is contained in:
Jeroen Roovers
2015-08-24 07:00:05 +02:00
parent 0e9392166a
commit a21a083d20
2 changed files with 1 additions and 18 deletions

View File

@@ -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;

View File

@@ -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=""