summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-02-27 04:49:38 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-02-27 04:49:38 +0000
commit0337ef27a4ade45b20916c7250bad070639d277d (patch)
tree19c4103d156effb8e42c19a6399e960164e9c4a7 /app-text/sloccount/files
parentuse games eclass; add patch from Myk Taylor (bug #82768) to support spaces in... (diff)
downloadgentoo-2-0337ef27a4ade45b20916c7250bad070639d277d.tar.gz
gentoo-2-0337ef27a4ade45b20916c7250bad070639d277d.tar.bz2
gentoo-2-0337ef27a4ade45b20916c7250bad070639d277d.zip
Bug #68624, fix the tail warnings.
(Portage version: 2.0.51.16)
Diffstat (limited to 'app-text/sloccount/files')
-rw-r--r--app-text/sloccount/files/digest-sloccount-2.26-r11
-rw-r--r--app-text/sloccount/files/sloccount-2.26-coreutils-tail-n-fix.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/app-text/sloccount/files/digest-sloccount-2.26-r1 b/app-text/sloccount/files/digest-sloccount-2.26-r1
new file mode 100644
index 000000000000..09e9fed7c329
--- /dev/null
+++ b/app-text/sloccount/files/digest-sloccount-2.26-r1
@@ -0,0 +1 @@
+MD5 09abd6e2a016ebaf7552068a1dba1249 sloccount-2.26.tar.gz 190948
diff --git a/app-text/sloccount/files/sloccount-2.26-coreutils-tail-n-fix.patch b/app-text/sloccount/files/sloccount-2.26-coreutils-tail-n-fix.patch
new file mode 100644
index 000000000000..caf30cf894de
--- /dev/null
+++ b/app-text/sloccount/files/sloccount-2.26-coreutils-tail-n-fix.patch
@@ -0,0 +1,12 @@
+diff -Nur sloccount-2.22/compute_sloc_lang sloccount-2.22-new/compute_sloc_lang
+--- sloccount-2.22/compute_sloc_lang 2002-02-28 13:34:09.000000000 +0100
++++ sloccount-2.22-new/compute_sloc_lang 2004-10-23 12:36:56.295312577 +0200
+@@ -30,7 +30,7 @@
+ *) ${language}_count -f ${language}_list.dat > ${language}_outfile.dat
+ ;;
+ esac
+- tail -1 < ${language}_outfile.dat
++ tail -n 1 < ${language}_outfile.dat
+
+ else
+ rm -f ${language}_outfile.dat