aboutsummaryrefslogtreecommitdiffstats
path: root/math/atlas
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2004-03-30 22:48:49 +0800
committermaho <maho@FreeBSD.org>2004-03-30 22:48:49 +0800
commit3a04348798470e98942068dba083452e7fa3640f (patch)
treea45a0b4c873f6ee5a183738496d9b6312fa8ce60 /math/atlas
parent44521b42447ae3ed75a11cdf96da9340d60b94fb (diff)
downloadfreebsd-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.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 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)
{