Age | Commit message (Collapse) | Author |
|
There is a recognized problem with json_1.8.3 when used with Ruby 2.5;
in summary:
compiling generator.c
generator.c: In function ‘generate_json’:
generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this
function); did you mean ‘mFixnum’?
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
mFixnum
generator.c:861:25: note: each undeclared identifier is reported only
once for each function it appears in
generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this
function); did you mean ‘rb_cFixnum’?
} else if (klass == rb_cBignum) {
^~~~~~~~~~
rb_cFixnum
This is explained in detail at:
https://makandracards.com/makandra/74544-how-to-fix-json-1-8-3-with-ruby-2-5
The simplest solution is to upgrade json just a wee bit to 1.8.5 to
resolve this.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Dropped 0001-Dont-compile-extensions.patch, it is not needed anymore.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
The merges of the following two commits:
commit 7ee6d9c99ab2a27ee700a53e47854e3c8eee7671
Author: Qian Lei <qianl.fnst@cn.fujitsu.com>
Date: Wed Jan 28 10:03:36 2015 +0800
yajl-ruby: Don't compile extensions
Module mkmf is used to generate Makefile, but it uses native
libraries
instead of target libraries. To avoid arch problem, we don't compile
the extension.
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
commit 08f5108740cf64a696d2552e9922c6de72a9cee6
Author: Qian Lei <qianl.fnst@cn.fujitsu.com>
Date: Wed Jan 28 10:03:35 2015 +0800
json: Don't compile extensions
Module mkmf is used to generate Makefile, but it uses native
libraries
instead of target libraries. To avoid arch problem, we don't compile
the extension.
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Were incorrected merged and contained invalid patch specifications. So
we move the patches up to the SRC_URI where they belong.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Module mkmf is used to generate Makefile, but it uses native libraries
instead of target libraries. To avoid arch problem, we don't compile
the extension.
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
An implementation of the JSON specification according to RFC 4627
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|