pkgsrc/devel/ruby-debug/patches/patch-aa

34 lines
898 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.3 2008/09/15 09:02:55 taca Exp $
--- Rakefile.orig 2008-09-15 13:39:49.000000000 +0900
+++ Rakefile
Update devel/ruby-debug to version 0.10.1. Changes from version 0.10.0 include: Makefile: + Use a different method for setting the RUBY_DEBUG_VERSION in the Rakefile. We create a file at post-extract time that holds the version number and just directly read it within the Rakefile. patch-aa: + Read the VERSION file in the source directory to set RUBY_DEBUG_VERSION used in the specifications file. + Drop changes that manipulated the file list for the ruby-debug-base package. We already only build the CLI package, so the change is unnecessary. ruby-debug changes: * "rdebug --post-mortem" now really catches uncaught exceptions and brings you to post-mortem handling. "info program" shows the exception. * Use ~/.rdboptrc (rdbopt.ini on MS Windows) to change default options. * Expanded "info" command * "frame" command now accepts an optional thread number argument * add "var cl[ass]" command. Note "var const" can no longer be abbreviated "var c"; use "var co" (or const or constant). * add "condition" command. Allow removal of condition. * rdebug command history can be displayed with "show commands". Fix a bug in history saving. * INCOMPATIBLE CHANGE: "finish" works like gdb - stop just before the most recent method finishes. Will now accept a number which stops that many frames completed. (Note that return line numbers will be funny, the first line of the method until Ruby 1.8.7.) * fix bug in 'list' command when wrapping off the end. * Emacs interaction drastically reworked, expanded, and improved.
2008-04-14 23:33:04 +02:00
@@ -8,8 +8,8 @@ require 'rake/testtask'
SO_NAME = "ruby_debug.so"
# ------- Default Package ----------
Update devel/ruby-debug to version 0.10.1. Changes from version 0.10.0 include: Makefile: + Use a different method for setting the RUBY_DEBUG_VERSION in the Rakefile. We create a file at post-extract time that holds the version number and just directly read it within the Rakefile. patch-aa: + Read the VERSION file in the source directory to set RUBY_DEBUG_VERSION used in the specifications file. + Drop changes that manipulated the file list for the ruby-debug-base package. We already only build the CLI package, so the change is unnecessary. ruby-debug changes: * "rdebug --post-mortem" now really catches uncaught exceptions and brings you to post-mortem handling. "info program" shows the exception. * Use ~/.rdboptrc (rdbopt.ini on MS Windows) to change default options. * Expanded "info" command * "frame" command now accepts an optional thread number argument * add "var cl[ass]" command. Note "var const" can no longer be abbreviated "var c"; use "var co" (or const or constant). * add "condition" command. Allow removal of condition. * rdebug command history can be displayed with "show commands". Fix a bug in history saving. * INCOMPATIBLE CHANGE: "finish" works like gdb - stop just before the most recent method finishes. Will now accept a number which stops that many frames completed. (Note that return line numbers will be funny, the first line of the method until Ruby 1.8.7.) * fix bug in 'list' command when wrapping off the end. * Emacs interaction drastically reworked, expanded, and improved.
2008-04-14 23:33:04 +02:00
-RUBY_DEBUG_VERSION = open("ext/ruby_debug.c") do |f|
- f.grep(/^#define DEBUG_VERSION/).first[/"(.+)"/,1]
+RUBY_DEBUG_VERSION = open(File.join(File.dirname(__FILE__), 'VERSION')) do |f|
+ f.readlines[0].chomp
end
COMMON_FILES = FileList[
Update devel/ruby-debug to version 0.10.1. Changes from version 0.10.0 include: Makefile: + Use a different method for setting the RUBY_DEBUG_VERSION in the Rakefile. We create a file at post-extract time that holds the version number and just directly read it within the Rakefile. patch-aa: + Read the VERSION file in the source directory to set RUBY_DEBUG_VERSION used in the specifications file. + Drop changes that manipulated the file list for the ruby-debug-base package. We already only build the CLI package, so the change is unnecessary. ruby-debug changes: * "rdebug --post-mortem" now really catches uncaught exceptions and brings you to post-mortem handling. "info program" shows the exception. * Use ~/.rdboptrc (rdbopt.ini on MS Windows) to change default options. * Expanded "info" command * "frame" command now accepts an optional thread number argument * add "var cl[ass]" command. Note "var const" can no longer be abbreviated "var c"; use "var co" (or const or constant). * add "condition" command. Allow removal of condition. * rdebug command history can be displayed with "show commands". Fix a bug in history saving. * INCOMPATIBLE CHANGE: "finish" works like gdb - stop just before the most recent method finishes. Will now accept a number which stops that many frames completed. (Note that return line numbers will be funny, the first line of the method until Ruby 1.8.7.) * fix bug in 'list' command when wrapping off the end. * Emacs interaction drastically reworked, expanded, and improved.
2008-04-14 23:33:04 +02:00
@@ -18,6 +18,7 @@ COMMON_FILES = FileList[
'LICENSE',
'README',
'Rakefile',
+ 'VERSION',
]
CLI_TEST_FILE_LIST = FileList['test/test-*.rb', 'test/cli/**/*_test.rb']
Update devel/ruby-debug to version 0.10.1. Changes from version 0.10.0 include: Makefile: + Use a different method for setting the RUBY_DEBUG_VERSION in the Rakefile. We create a file at post-extract time that holds the version number and just directly read it within the Rakefile. patch-aa: + Read the VERSION file in the source directory to set RUBY_DEBUG_VERSION used in the specifications file. + Drop changes that manipulated the file list for the ruby-debug-base package. We already only build the CLI package, so the change is unnecessary. ruby-debug changes: * "rdebug --post-mortem" now really catches uncaught exceptions and brings you to post-mortem handling. "info program" shows the exception. * Use ~/.rdboptrc (rdbopt.ini on MS Windows) to change default options. * Expanded "info" command * "frame" command now accepts an optional thread number argument * add "var cl[ass]" command. Note "var const" can no longer be abbreviated "var c"; use "var co" (or const or constant). * add "condition" command. Allow removal of condition. * rdebug command history can be displayed with "show commands". Fix a bug in history saving. * INCOMPATIBLE CHANGE: "finish" works like gdb - stop just before the most recent method finishes. Will now accept a number which stops that many frames completed. (Note that return line numbers will be funny, the first line of the method until Ruby 1.8.7.) * fix bug in 'list' command when wrapping off the end. * Emacs interaction drastically reworked, expanded, and improved.
2008-04-14 23:33:04 +02:00
@@ -158,9 +159,6 @@ EOF
end
# Rake task to build the default package
-Rake::GemPackageTask.new(base_spec) do |pkg|
- pkg.need_tar = true
-end
Rake::GemPackageTask.new(cli_spec) do |pkg|
pkg.need_tar = true
end