From owner-cvs-ports@FreeBSD.ORG Thu Nov 17 21:58:26 2005 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA6F016A41F; Thu, 17 Nov 2005 21:58:26 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FF5643D55; Thu, 17 Nov 2005 21:58:26 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jAHLwQuI031058; Thu, 17 Nov 2005 21:58:26 GMT (envelope-from edwin@repoman.freebsd.org) Received: (from edwin@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jAHLwQd7031057; Thu, 17 Nov 2005 21:58:26 GMT (envelope-from edwin) Message-Id: <200511172158.jAHLwQd7031057@repoman.freebsd.org> From: Edwin Groothuis Date: Thu, 17 Nov 2005 21:58:26 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/games/quakeforge Makefile X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 21:58:27 -0000 edwin 2005-11-17 21:58:26 UTC FreeBSD ports repository Modified files: games/quakeforge Makefile Log: [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 Approved by: Alejandro Pulver Revision Changes Path 1.55 +1 -0 ports/games/quakeforge/Makefile