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.
Responsible Changed From-To: freebsd-ports-bugs->garga I'll take it.
State Changed From-To: open->feedback Ask for maintainer approval.
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
Yes this patch can be applied. Thanks Sven. -- Guy 'DeVice' P.
State Changed From-To: feedback->closed Committed. Thanks!