diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-17 21:58:25 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-17 21:58:25 +0000 |
commit | 1f2d2432a26a80fb02873cc983330e44d066af2d (patch) | |
tree | e76ca27f71f95bc17ba4633fcd9ec404392cf97e /games | |
parent | End of the update to version 3.9.9 - the previous commit was incomplete. (diff) |
[patch] games/quakeforge does not respond to keyboard input
After ports recompilation for 6.0 (upgrade from 5-STABLE)
I noticed that quakeforge start and plays the demo, but
completely ignores any keyboard input. Besides that, it
reports that plugin /usr/local/lib/quakeforge/console_client.so
cannot be loaded.
Investigation had shown that the plugin is used to drive
the game menu, and the reason it cannot be loaded is that
the main executable of the game does not export the symbol
Key_Progs_Init.
Symbol is absent since build links final exe from some
static libraries, and .o with Key_Progs_Init is (for some
reasons) not referenced by exe. As a workaround, I propose
to add an explicit reference for the symbol.
Proper fix would be something like -Wl,--whole-archive
switch for final link, but this does not work due to libtool
only allows to put switches at the start of the command
line. And cc links libgcc.a twice, that leads to duplicate
symbol definitions.
PR: ports/89065
Submitted by: Kostik Belousov <kostikbel@gmail.com>
Approved by: Alejandro Pulver <alejandro@varnet.biz>
Notes
Notes:
svn path=/head/; revision=148681
Diffstat (limited to 'games')
-rw-r--r-- | games/quakeforge/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile index 5155ec053924..7a29268a2ed9 100644 --- a/games/quakeforge/Makefile +++ b/games/quakeforge/Makefile @@ -7,6 +7,7 @@ PORTNAME= quakeforge PORTVERSION= 0.5.5 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:sf/} MASTER_SITE_SUBDIR= quake/:sf |