From b07c03e83ef832f04f0674762b7f6bd19d194a74 Mon Sep 17 00:00:00 2001 From: Masatomo Nakano Date: Mon, 16 May 2005 03:05:13 +0000 Subject: added two patches to fix bug (Portage version: 2.0.51.21-r1) --- dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch (limited to 'dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch') diff --git a/dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch b/dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch new file mode 100644 index 000000000000..2d91106f1c2c --- /dev/null +++ b/dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch @@ -0,0 +1,22 @@ +--- collect_diffs.rb.org 2004-12-11 21:38:10.000000000 +0100 ++++ collect_diffs.rb 2004-12-11 21:46:35.235302401 +0100 +@@ -100,7 +100,7 @@ + def collect_antique_style_args(cvs_info) + # remove leading slashes that may appear due to the user entering trailing + # slashes in their CVSROOT specification +- cvs_info.sub!(/^\/+/, "") ++ cvs_info = cvs_info.sub(/^\/+/, "") + + unless cvs_info.slice(0, $repository_path.length+1) == "#{$repository_path} " + fail "calculated repository path ('#{$repository_path}') doesn't match start of command line arg ('#{cvs_info}')" +--- cvsspam.rb 9 Dec 2004 23:51:31 -0000 1.61 ++++ cvsspam.rb 22 Jan 2005 23:58:44 -0000 +@@ -930,7 +930,7 @@ + + # start the diff output, using the given lines as the 'preamble' bit + def start_output(*lines) +- println("
") ++ println("
") + case $file.type + when "A" + print("") -- cgit v1.2.3-65-gdbad