Bug 87367

Summary: [PATCH] games/scorched3d does not compile when wxWindows 2.4 and 2.6 are both installed
Product: Ports & Packages Reporter: Sven Berkvens-Matthijsse <sven>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Sven Berkvens-Matthijsse 2005-10-13 12:20:16 UTC
There is a problem with installing or upgrading the games/scorched3d port
if wxWindows 2.4 and 2.6 are both installed on the system. The problem is
that wxWindows 2.4 installs its include files in /usr/X11R6/include/wx
while wxWindows 2.6 installs its include files in /usr/X11R6/include/wx-2.6/wx.
The games/scorched3d port has -I /usr/X11R6/include before
-I /usr/X11R6/include/wx-2.6, and thus the compilation fails because one of
the sources includes wx/some_header_file.h and ends up including the 2.4
version instead of the 2.6 version.

Fix: Replace the /usr/ports/games/scorched3d/files/patch-configure.ac
	file with the following. This will reverse the order of the -I
	compiler options and fix the problem.
How-To-Repeat: 	Install wxWindows 2.4 and 2.6 and then install scorched3d.
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2005-10-13 13:29:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

I'll take it.
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2005-10-13 13:30:15 UTC
State Changed
From-To: open->feedback

Ask for maintainer approval.
Comment 3 Renato Botelho freebsd_committer freebsd_triage 2005-10-13 13:38:16 UTC
Dear maintainer of FreeBSD port games/scorched3d

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/87367

Do you approve this patch?
-- 
Renato Botelho <garga @ FreeBSD.org>
               <freebsd @ galle.com.br>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

Conscience is a mother-in-law whose visit never ends.
		-- H. L. Mencken
Comment 4 guy 2005-10-14 09:11:24 UTC
Yes this patch can be applied.

Thanks Sven.

--
        Guy 'DeVice' P.
Comment 5 Renato Botelho freebsd_committer freebsd_triage 2005-10-14 11:48:19 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!