diff options
author | maho <maho@FreeBSD.org> | 2004-03-30 22:48:49 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2004-03-30 22:48:49 +0800 |
commit | 3a04348798470e98942068dba083452e7fa3640f (patch) | |
tree | a45a0b4c873f6ee5a183738496d9b6312fa8ce60 /math/atlas | |
parent | 44521b42447ae3ed75a11cdf96da9340d60b94fb (diff) | |
download | freebsd-ports-graphics-3a04348798470e98942068dba083452e7fa3640f.tar.gz freebsd-ports-graphics-3a04348798470e98942068dba083452e7fa3640f.tar.zst freebsd-ports-graphics-3a04348798470e98942068dba083452e7fa3640f.zip |
real fix for PR:64692
PR: 64692
Submitted by: Kay Lehmann <kay_lehmann@web.de>
Diffstat (limited to 'math/atlas')
-rw-r--r-- | math/atlas/files/patch-config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/atlas/files/patch-config.c b/math/atlas/files/patch-config.c index c176e88b706..a4719e87636 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) { |