diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/sloccount/files/sloccount-2.26-gentoo.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/sloccount/files/sloccount-2.26-gentoo.patch')
-rw-r--r-- | app-text/sloccount/files/sloccount-2.26-gentoo.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-text/sloccount/files/sloccount-2.26-gentoo.patch b/app-text/sloccount/files/sloccount-2.26-gentoo.patch new file mode 100644 index 000000000000..c3a031190a36 --- /dev/null +++ b/app-text/sloccount/files/sloccount-2.26-gentoo.patch @@ -0,0 +1,20 @@ +--- break_filelist.old 2013-10-14 17:23:01.523330534 +0800 ++++ break_filelist 2004-08-01 12:17:28.000000000 +0800 +@@ -177,7 +177,7 @@ + "p" => "pascal", "pas" => "pascal", "pp" => "pascal", "dpr" => "pascal", + "py" => "python", + "s" => "asm", "S" => "asm", "asm" => "asm", ++ "sh" => "sh", "bash" => "sh", "ebuild" => "sh", +- "sh" => "sh", "bash" => "sh", + "csh" => "csh", "tcsh" => "csh", + "java" => "java", + "lisp" => "lisp", "el" => "lisp", "scm" => "lisp", "sc" => "lisp", +@@ -879,7 +879,7 @@ + $command = $2; + } + ++ if ( ($command =~ m/^(bash|ksh|zsh|pdksh|sh|runscript)[0-9\.]*(\.exe)?$/i) || +- if ( ($command =~ m/^(bash|ksh|zsh|pdksh|sh)[0-9\.]*(\.exe)?$/i) || + ($firstline =~ + m~^#!\s*\@_?(SCRIPT_)?(PATH_)?(BA|K)?SH(ELL)?(\d+)?\@?(\s|\Z)~)) { + # Note: wish(1) uses a funny trick; see wish(1) for more info. |