Bug 82434 - [Patch] Fix libvisual on 4.x
Summary: [Patch] Fix libvisual on 4.x
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: Koop Mast
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-20 09:10 UTC by Michael Nottebrock
Modified: 2005-06-23 12:16 UTC (History)
0 users

See Also:


Attachments
libvisual.diff (613 bytes, patch)
2005-06-20 09:10 UTC, Michael Nottebrock
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nottebrock freebsd_committer freebsd_triage 2005-06-20 09:10:22 UTC
	Libvisual uses some inline assembly to optimize usage of
	special instruction sets like MMX. Unfortunately it does this
	in a way that's incompatible with gcc 2.95.

Fix: The patch modifies the configure script to not flag the define
	that triggers the offending code if the compiler is gcc and the
	major compiler version is lower than 3. This fixes compilation
	on FreeBSD 4.x and keeps the optimizations intact on 5.x. 

	Patch obtained from NetBSD pkgsrc.
Comment 1 Michael Nottebrock freebsd_committer freebsd_triage 2005-06-20 09:18:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vanilla

Over to maintainer.
Comment 2 Michael Nottebrock freebsd_committer freebsd_triage 2005-06-20 09:18:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kwm

Over to maintainer.
Comment 3 Koop Mast freebsd_committer freebsd_triage 2005-06-23 12:16:00 UTC
State Changed
From-To: open->closed

Committed, Thanks!