Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2005 21:58:49 +0000 (UTC)
From:      Edwin Groothuis <edwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/games/quakeforge/files patch-nq__source__sys_unix.c
Message-ID:  <200511172158.jAHLwnv6031096@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
edwin       2005-11-17 21:58:49 UTC

  FreeBSD ports repository

  Added files:
    games/quakeforge/files patch-nq__source__sys_unix.c 
  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 <kostikbel@gmail.com>
  Approved by:    Alejandro Pulver <alejandro@varnet.biz>
  
  Revision  Changes    Path
  1.1       +12 -0     ports/games/quakeforge/files/patch-nq__source__sys_unix.c (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511172158.jAHLwnv6031096>