summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca>2010-05-04 02:46:50 +0000
committertaca <taca>2010-05-04 02:46:50 +0000
commitfb95efdc6018c31c139b1001fed5f10e8e076ce3 (patch)
tree42edecf80c4f379afa6e7d7428192c805d5e1969 /textproc
parentd21fb552c0fb9f54058d0816c46dedb881ebbf97 (diff)
downloadpkgsrc-fb95efdc6018c31c139b1001fed5f10e8e076ce3.tar.gz
Update ruby-json package from 1.2.0 to 1.4.2.
2010-04-26 (1.4.2) * Applied patch from naruse Yui NARUSE <naruse@airemix.com> to make building with Microsoft Visual C possible again. * Applied patch from devrandom <c1.github@niftybox.net> in order to allow building of json_pure if extensiontask is not present. * Thanks to Dustin Schneider <dustin@stocktwits.com>, who reported a memory leak, which is fixed in this release. * Applied 993f261ccb8f911d2ae57e9db48ec7acd0187283 patch from josh@github. 2010-04-25 (1.4.1) * Fix for a bug reported by Dan DeLeo <dan@kallistec.com>, caused by T_FIXNUM being different on 32bit/64bit architectures. 2010-04-23 (1.4.0) * Major speed improvements and building with simplified directory/file-structure. * Extension should at least be comapatible with MRI, YARV and Rubinius. 2010-04-07 (1.2.4) * Triger const_missing callback to make Rails' dynamic class loading work. 2010-03-11 (1.2.3) * Added a State#[] method which returns an attribute's value in order to increase duck type compatibility to Hash. 2010-02-27 (1.2.2) * Made some changes to make the building of the parser/generator compatible to Rubinius. 2009-11-25 (1.2.1) * Added :symbolize_names option to Parser, which returns symbols instead of strings in object names/keys.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-json/Makefile4
-rw-r--r--textproc/ruby-json/PLIST12
-rw-r--r--textproc/ruby-json/distinfo11
-rw-r--r--textproc/ruby-json/patches/patch-aa8
-rw-r--r--textproc/ruby-json/patches/patch-ab10
5 files changed, 29 insertions, 16 deletions
diff --git a/textproc/ruby-json/Makefile b/textproc/ruby-json/Makefile
index 8036fd73296..61d3689e4ec 100644
--- a/textproc/ruby-json/Makefile
+++ b/textproc/ruby-json/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2009/11/23 13:33:47 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2010/05/04 02:46:50 taca Exp $
-DISTNAME= json-1.2.0
+DISTNAME= json-1.4.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
diff --git a/textproc/ruby-json/PLIST b/textproc/ruby-json/PLIST
index 3d942e5c891..5a0e8d398f1 100644
--- a/textproc/ruby-json/PLIST
+++ b/textproc/ruby-json/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/11/23 13:33:47 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/05/04 02:46:50 taca Exp $
${GEM_HOME}/cache/json-${PKGVERSION}.gem
${GEM_LIBDIR}/.require_paths
${GEM_LIBDIR}/CHANGES
@@ -39,7 +39,11 @@ ${GEM_LIBDIR}/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log
${GEM_LIBDIR}/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat
${GEM_LIBDIR}/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat
${GEM_LIBDIR}/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log
+${GEM_LIBDIR}/benchmarks/generator2_benchmark.rb
${GEM_LIBDIR}/benchmarks/generator_benchmark.rb
+${GEM_LIBDIR}/benchmarks/ohai.json
+${GEM_LIBDIR}/benchmarks/ohai.ruby
+${GEM_LIBDIR}/benchmarks/parser2_benchmark.rb
${GEM_LIBDIR}/benchmarks/parser_benchmark.rb
${GEM_LIBDIR}/bin/edit_json.rb
${GEM_LIBDIR}/bin/prettify_json.rb
@@ -48,13 +52,11 @@ ${GEM_LIBDIR}/data/index.html
${GEM_LIBDIR}/data/prototype.js
${GEM_LIBDIR}/ext/json/ext/generator/extconf.rb
${GEM_LIBDIR}/ext/json/ext/generator/generator.c
-${GEM_LIBDIR}/ext/json/ext/generator/unicode.c
-${GEM_LIBDIR}/ext/json/ext/generator/unicode.h
+${GEM_LIBDIR}/ext/json/ext/generator/generator.h
${GEM_LIBDIR}/ext/json/ext/parser/extconf.rb
${GEM_LIBDIR}/ext/json/ext/parser/parser.c
+${GEM_LIBDIR}/ext/json/ext/parser/parser.h
${GEM_LIBDIR}/ext/json/ext/parser/parser.rl
-${GEM_LIBDIR}/ext/json/ext/parser/unicode.c
-${GEM_LIBDIR}/ext/json/ext/parser/unicode.h
${GEM_LIBDIR}/install.rb
${GEM_LIBDIR}/lib/json.rb
${GEM_LIBDIR}/lib/json/Array.xpm
diff --git a/textproc/ruby-json/distinfo b/textproc/ruby-json/distinfo
index 00c001dae54..927ee1d7f99 100644
--- a/textproc/ruby-json/distinfo
+++ b/textproc/ruby-json/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2009/11/23 13:33:47 fhajny Exp $
+$NetBSD: distinfo,v 1.4 2010/05/04 02:46:50 taca Exp $
-SHA1 (json-1.2.0.gem) = 418f823b76ba63a3af0b0f082aeca1fdb9105b41
-RMD160 (json-1.2.0.gem) = f144cf6c41c2b52621359d353c5ae22e3e3d366b
-Size (json-1.2.0.gem) = 385536 bytes
-SHA1 (patch-aa) = 061f1dae8a49fd170b55d146fa963983c6cdf203
+SHA1 (json-1.4.2.gem) = 125d4cb1b867e8c64114ae74f20309d855565a9e
+RMD160 (json-1.4.2.gem) = ceadeb392b1230d126b33edb402ab19f8666b4ec
+Size (json-1.4.2.gem) = 397824 bytes
+SHA1 (patch-aa) = 0313d9bc7d124705cec244ba126879e6a9cba8a1
+SHA1 (patch-ab) = c80a2a7a1ae78e98dd7d6982a2e5da8963a214d6
diff --git a/textproc/ruby-json/patches/patch-aa b/textproc/ruby-json/patches/patch-aa
index e58f8ec11c0..37eae16b912 100644
--- a/textproc/ruby-json/patches/patch-aa
+++ b/textproc/ruby-json/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.2 2009/11/23 13:33:47 fhajny Exp $
+$NetBSD: patch-aa,v 1.3 2010/05/04 02:46:50 taca Exp $
Do not install executables, those are part of ruby-json-pure
---- ../json-1.2.0.gemspec.orig 2009-11-22 15:25:00.909294000 +0000
-+++ ../json-1.2.0.gemspec
+--- ../json-1.4.2.gemspec.orig 2010-04-30 09:12:53.000000000 +0000
++++ ../json-1.4.2.gemspec
@@ -10,14 +10,12 @@ bindir: bin
cert_chain: []
- date: 2009-11-07 23:00:00 +00:00
+ date: 2010-04-27 22:00:00 +00:00
-default_executable: edit_json.rb
+default_executable: []
dependencies: []
diff --git a/textproc/ruby-json/patches/patch-ab b/textproc/ruby-json/patches/patch-ab
new file mode 100644
index 00000000000..2f02e273758
--- /dev/null
+++ b/textproc/ruby-json/patches/patch-ab
@@ -0,0 +1,10 @@
+$NetBSD: patch-ab,v 1.1 2010/05/04 02:46:50 taca Exp $
+
+--- tools/fuzz.rb.orig 2010-04-30 09:05:37.000000000 +0000
++++ tools/fuzz.rb
+@@ -1,3 +1,5 @@
++#!ruby
++
+ require 'json'
+
+ require 'iconv'