summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2005-05-16 03:05:13 +0000
committerMasatomo Nakano <nakano@gentoo.org>2005-05-16 03:05:13 +0000
commitb07c03e83ef832f04f0674762b7f6bd19d194a74 (patch)
tree3ae250271f2d9947a3ace1be975b561d1de05081 /dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch
parentdont run iconv when cross-compiling #92695 (diff)
downloadgentoo-2-b07c03e83ef832f04f0674762b7f6bd19d194a74.tar.gz
gentoo-2-b07c03e83ef832f04f0674762b7f6bd19d194a74.tar.bz2
gentoo-2-b07c03e83ef832f04f0674762b7f6bd19d194a74.zip
added two patches to fix bug
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch')
-rw-r--r--dev-util/cvsspam/files/cvsspam-0.2.11-gentoo.patch22
1 files changed, 22 insertions, 0 deletions
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("<hr /><a name=\"file#{$fileEntries.size+1}\" /><div class=\"file\">")
++ println("<hr /><a name=\"file#{$fileEntries.size}\" /><div class=\"file\">")
+ case $file.type
+ when "A"
+ print("<span class=\"pathname\" id=\"added\">")