Bug 102930 - [PATCH] devel/ode: fix include file
Summary: [PATCH] devel/ode: fix include file
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: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-06 02:30 UTC by Dmitry Marakasov
Modified: 2006-09-06 15:51 UTC (History)
0 users

See Also:


Attachments
ode.patch (437 bytes, patch)
2006-09-06 02:30 UTC, Dmitry Marakasov
no flags Details | Diff

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