ports/64692: [Update port] math/atlas: detect correct compiler-version
Kay Lehmann
kay_lehmann at web.de
Thu Mar 25 09:50:18 UTC 2004
>Number: 64692
>Category: ports
>Synopsis: [Update port] math/atlas: detect correct compiler-version
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 25 01:50:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Kay Lehmann
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD 4.9-STABLE #33: Wed Mar 17 22:04:58 CET 2004
kay at bippes.finkenkrug.ev:/usr/obj/usr/src/sys/bippes
>Description:
recent change in patch-config.c to fix build on alpha breaks
correct compiler detection (I think this was just a typo). This
patch reenables this. Maybe it should be tested on alpha,
but I don't think it worked on any other platform. I tested
only on 4-stable (ix86).
p.s. detected compiler version for me was 95.95.4
>How-To-Repeat:
Type 'make configure' in ${PORTSDIR}/math/atlas
>Fix:
--- patch-config.c.diff begins here ---
--- patch-config.c.orig Thu Mar 25 10:33:01 2004
+++ patch-config.c Thu Mar 25 10:33:35 2004
@@ -5,8 +5,8 @@
if (CmndOneLine(NULL, ln, ln2) == 0)
{
- *major = GetIntVers(ln2, &j);
-+ j=0; for (i=0; ln2[i] && !isspace(ln[i]); i++) j++;
-+ *major = GetIntVers(ln2+j, &i);
++ j=0; for (i=0; ln2[i] && !isspace(ln[i]); i++)
++ *major = GetIntVers(ln2+j, &i); j++;
if (*major != -1)
{
*minor = GetIntVers(ln2+j, &i); j += i;
--- patch-config.c.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list