Bug 102930

Summary: [PATCH] devel/ode: fix include file
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ode.patch none

Description Dmitry Marakasov 2006-09-06 02:30:19 UTC
${PREFIX}/include/ode/config.h installed by ode has some defines that shouldn't be there:

--- cut ---
/* Name of package */
#define PACKAGE "ODE"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "ode@q12.org"

/* Define to the full name of this package. */
#define PACKAGE_NAME "ODE"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "ODE 0.6.0-rc1"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "ode"

/* Define to the version of this package. */
#define PACKAGE_VERSION "0.6.0-rc1"

/* Version number of package */
#define VERSION "0.6.0-rc1"
--- /cut ---

These will conflict with internal config.h files of ports that depend on ode.
Usually that's lead to warnings, but sometimes (games/fwp case, which use -Werror) to errors.

Example is here: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.6.2006072612/fwp-0.0.7.log

So, comment out these defines in post-install.

How-To-Repeat: cd /usr/ports/games/xmoto && make
(warnings will be displayed)

cd /usr/ports/games/fwp && make
(won't build, because of warnings coupled with -Werror)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-09-06 02:30:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->acm

Over to maintainer
Comment 2 Dmitry Marakasov 2006-09-06 02:47:49 UTC
* FreeBSD-gnats-submit@FreeBSD.org (FreeBSD-gnats-submit@FreeBSD.org) wrote:

Yes, and I suppose PORTREVISION should be bumbed, too.
I always forget that.

-- 
Best regards,
 Dmitry                          mailto:amdmi3@mail.ru
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2006-09-06 15:50:43 UTC
State Changed
From-To: open->closed

Commited thanks!!!