summaryrefslogtreecommitdiff
path: root/textproc/ruby-json/patches
diff options
context:
space:
mode:
authorfhajny <fhajny>2009-11-23 13:33:47 +0000
committerfhajny <fhajny>2009-11-23 13:33:47 +0000
commit77a57aa4dbcac5b442b513fb41ec2cbfcfd5e138 (patch)
treee5d93951d3fa1f6e9a0c242d53e1cfb0e606a623 /textproc/ruby-json/patches
parent3f07c2a21de636a8c087ba93c7bba61a2ade8fcf (diff)
downloadpkgsrc-77a57aa4dbcac5b442b513fb41ec2cbfcfd5e138.tar.gz
Update ruby-json to 1.2.0
Too many changes, see: http://github.com/flori/json/blob/master/CHANGES
Diffstat (limited to 'textproc/ruby-json/patches')
-rw-r--r--textproc/ruby-json/patches/patch-aa48
1 files changed, 20 insertions, 28 deletions
diff --git a/textproc/ruby-json/patches/patch-aa b/textproc/ruby-json/patches/patch-aa
index ad7502c2288..e58f8ec11c0 100644
--- a/textproc/ruby-json/patches/patch-aa
+++ b/textproc/ruby-json/patches/patch-aa
@@ -1,31 +1,23 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/04/04 15:21:43 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2009/11/23 13:33:47 fhajny Exp $
---- Rakefile.orig 1969-12-31 19:00:00.000000000 -0500
-+++ Rakefile
-@@ -12,7 +12,7 @@ include Config
- ON_WINDOWS = RUBY_PLATFORM =~ /mswin32/i
- PKG_NAME = 'json'
- PKG_VERSION = File.read('VERSION').chomp
--PKG_FILES = FileList["**/*"].exclude(/CVS|pkg|coverage|Makefile/).exclude(/\.(so|bundle|o|#{CONFIG['DLEXT']})$/)
-+PKG_FILES = FileList["**/*"].exclude(/CVS|pkg|coverage|Makefile/).exclude(/\.(so|bundle|o|orig|#{CONFIG['DLEXT']})$/)
- EXT_ROOT_DIR = 'ext/json/ext'
- EXT_PARSER_DIR = "#{EXT_ROOT_DIR}/parser"
- EXT_PARSER_DL = "#{EXT_ROOT_DIR}/parser.#{CONFIG['DLEXT']}"
-@@ -219,8 +219,6 @@ if defined? Gem
- s.require_paths << 'lib'
+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
+@@ -10,14 +10,12 @@ bindir: bin
+ cert_chain: []
- s.bindir = "bin"
-- s.executables = ["edit_json.rb"]
-- s.default_executable = "edit_json.rb"
+ date: 2009-11-07 23:00:00 +00:00
+-default_executable: edit_json.rb
++default_executable: []
+ dependencies: []
- s.has_rdoc = true
- s.rdoc_options <<
-@@ -243,7 +241,7 @@ if defined? Gem
- mkdir_p 'pkg'
- spec_win_ext = Gem::Specification.new do |s|
- s.name = 'json'
-- s.platform = Gem::Platform::WIN32
-+ s.platform = Gem::Platform::CURRENT
- s.version = PKG_VERSION
- s.summary = "A JSON implementation as a Ruby extension"
- s.description = ""
+ description: This is a JSON implementation as a Ruby extension in C.
+ email: flori@ping.de
+-executables:
+-- edit_json.rb
+-- prettify_json.rb
++executables: []
+ extensions:
+ - ext/json/ext/generator/extconf.rb
+ - ext/json/ext/parser/extconf.rb