Bug 58698 - security/nmap: make compile on FreeBSD/sparc64
Summary: security/nmap: make compile on FreeBSD/sparc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-29 21:50 UTC by marius
Modified: 2003-10-30 14:11 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (858 bytes, patch)
2003-10-29 21:50 UTC, marius
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marius 2003-10-29 21:50:16 UTC
	The security/nmap port (currently at 3.48, but previous versions also
	had this problem) triggers a bug in GCC 3.3.1 on FreeBSD/sparc64 which
	causes the compilation of the port to fail, see:
	http://bento.freebsd.org/errorlogs/sparc64-5-latest/nmap-3.48_1.log
	Below is a patch that works around the GCC bug and that the maintainer
	requested to be sent as PR, see:
	http://lists.freebsd.org/pipermail/freebsd-sparc64/2003-October/000791.html
	The GCC bug itself is know and AFAIK Thomas Moestl (tmm@freebsd.org)
	tried to get a fix for it in upstream GCC. However, I didn't see an
	entry in the release notes of GCC 3.3.2 that would suggest that it has
	been fixed there.
	Another port that has a workaround for this particular GCC bug is e.g.
	x11/XFree86-4-libraries (files/patch-XRes.c).

Fix: Apply the patch below in security/nmap (adds new file
	files/patch-nsock::src::nsock_event.c).
Comment 1 Alexander Leidinger freebsd_committer freebsd_triage 2003-10-30 14:10:40 UTC
State Changed
From-To: open->closed

Committed, thanks.