Bug 87367 - [PATCH] games/scorched3d does not compile when wxWindows 2.4 and 2.6 are both installed
Summary: [PATCH] games/scorched3d does not compile when wxWindows 2.4 and 2.6 are both...
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: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 12:20 UTC by Sven Berkvens-Matthijsse
Modified: 2005-10-14 11:48 UTC (History)
0 users

See Also:


Attachments
file.diff (805 bytes, patch)
2005-10-13 12:20 UTC, Sven Berkvens-Matthijsse
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!