Bug 55544

Summary: cad/metis-edf: unbreaking on Alpha.
Product: Ports & Packages Reporter: Thierry Thomas <thierry>
Component: Individual Port(s)Assignee: Oliver Lehmann <oliver>
Status: Closed FIXED    
Severity: Affects Only Me CC: oliver
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
metis-edf.diff none

Description Thierry Thomas 2003-08-13 15:10:06 UTC
	Noticed by Kris on Bento: cad/metis-edf is broken on Apha.

	Actually, it builds, then there is a `make test', it eats all the
	CPU and never launches: there is a kind of loop in
	/usr/libexec/ld-elf.so.1.

	This problem has been solved by replacing $LD by $CC (with the flag
	verbose to check that everything is OK).

	After that, there was another problem due to the usage of int in the
	FORTRAN subprograms and long in the C functions.

	Remark: this program is also broken on other 64 bits platforms; this
	PR has been tested on i386 & alpha, but if we are lucky, it might
	unbreak everywhere...

	Credits:
	- thanks to Oliver Lehmann for an access to his Alpha machine;
	- thanks to Marcel Moolenaar on freebsd-alpha list for the LD trick.

Fix: Please apply the following patch.

	Remark: one new file, patch-Lib::proto.h.
How-To-Repeat: 	See the logs on Bento, e.g.
	<http://bento.freebsd.org/errorlogs/alpha-4-latest/metis-edf-3.log>.
Comment 1 Oliver Lehmann freebsd_committer freebsd_triage 2003-08-13 15:22:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

I'll handle that
Comment 2 Oliver Lehmann freebsd_committer freebsd_triage 2003-08-13 15:37:25 UTC
State Changed
From-To: open->closed

Comitted, Thanks!