summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-10-08 20:53:28 +0000
committerRoy Marples <uberlord@gentoo.org>2007-10-08 20:53:28 +0000
commit177efdd0cc124fdee5b9852c3f7ed1287f9b2ec9 (patch)
treee782d1fe0e4cc76230bccc4e53e6e6d4394eb854 /app-shells/dash/files
parentInitial import of ebuild, written by hd_brummy. (diff)
downloadgentoo-2-177efdd0cc124fdee5b9852c3f7ed1287f9b2ec9.tar.gz
gentoo-2-177efdd0cc124fdee5b9852c3f7ed1287f9b2ec9.tar.bz2
gentoo-2-177efdd0cc124fdee5b9852c3f7ed1287f9b2ec9.zip
Fix the arith patch for incorrect octal handling
(Portage version: 2.1.3.12)
Diffstat (limited to 'app-shells/dash/files')
-rw-r--r--app-shells/dash/files/dash-0.5.4-posix-arith.patch2
-rw-r--r--app-shells/dash/files/digest-dash-0.5.4.1-r26
2 files changed, 7 insertions, 1 deletions
diff --git a/app-shells/dash/files/dash-0.5.4-posix-arith.patch b/app-shells/dash/files/dash-0.5.4-posix-arith.patch
index 9665c4ac19d4..894008670ce1 100644
--- a/app-shells/dash/files/dash-0.5.4-posix-arith.patch
+++ b/app-shells/dash/files/dash-0.5.4-posix-arith.patch
@@ -205,7 +205,7 @@ diff -ur a/src/arith_yylex.c b/src/arith_yylex.c
+ if (*++buf == 'x')
+ yylval.l_value = strtoll(buf+1, (char **)&arith_buf, 16);
+ else
-+ yylval.l_value = strtoll(buf+1, (char **)&arith_buf, 8);
++ yylval.l_value = strtoll(buf, (char **)&arith_buf, 8);
+ if (isalnum(*arith_buf) || *arith_buf == '_')
+ sh_error("arith: value does not fit base: \"%s\"", arith_buf);
+ return ARITH_NUM;
diff --git a/app-shells/dash/files/digest-dash-0.5.4.1-r2 b/app-shells/dash/files/digest-dash-0.5.4.1-r2
new file mode 100644
index 000000000000..66aa426f23b4
--- /dev/null
+++ b/app-shells/dash/files/digest-dash-0.5.4.1-r2
@@ -0,0 +1,6 @@
+MD5 bc457e490a589d2f87f2333616b67931 dash-0.5.4.tar.gz 212145
+RMD160 322fc2fffc5fddf4223d39c57eaeb9b4222303fa dash-0.5.4.tar.gz 212145
+SHA256 a9dc8f0237f632dd2c1bfeff80b1052e75fafaef0d767e3beab0bd8becced623 dash-0.5.4.tar.gz 212145
+MD5 304e8c13d012585314d73589e50dea38 dash_0.5.4-1.diff.gz 24636
+RMD160 5013da584493f1147a3be8a321985cf464da22af dash_0.5.4-1.diff.gz 24636
+SHA256 0214f40865c2b904710cadf84ece22c932bbeac85b0fa9e6c5e9abd46d36e453 dash_0.5.4-1.diff.gz 24636