summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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