aboutsummaryrefslogtreecommitdiff
path: root/math/atlas
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-03-30 14:48:49 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-03-30 14:48:49 +0000
commit7aa685c7876e0461f6bbfe5b7c71b56e39a15324 (patch)
tree08c95fd3fba8a567e2e3c7d798b8c4e8d826494c /math/atlas
parent03d9529658caa65e13a0c72f5c874a1942d9ee51 (diff)
real fix for PR:64692
PR: 64692 Submitted by: Kay Lehmann <kay_lehmann@web.de>
Notes
Notes: svn path=/head/; revision=105704
Diffstat (limited to 'math/atlas')
-rw-r--r--math/atlas/files/patch-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/atlas/files/patch-config.c b/math/atlas/files/patch-config.c
index c176e88b7061..a4719e876361 100644
--- a/math/atlas/files/patch-config.c
+++ b/math/atlas/files/patch-config.c
@@ -5,8 +5,8 @@
if (CmndOneLine(NULL, ln, ln2) == 0)
{
- *major = GetIntVers(ln2, &j);
-+ j=0; if(isalpha(ln2[0])){for(i=0;!isspace(ln2[i]);i++)j++;} /* skip gccXXX ; XXX is number */
-+ for (i=0; !isdigit(ln2[i]); i++) j++;
++ j=0;if(isalpha(ln2[0])){for(i=0;!isspace(ln2[i]);i++)j++;} /*skip gccXXX ; XXX is number*/
++ for (i=j; !isdigit(ln2[i]); i++) j++;
+ *major = GetIntVers(ln2+j, &i); j += i;
if (*major != -1)
{