Created attachment 279239 [details] joystick-1.4.1.ebuild Update joystick and inputattach utilities to the current release at the Linux Console Project. Upstream already includes fixes for the segv and asneeded patches but evtest has been moved out to own package upstream for which I've raised bug 374215 for a separate ebuild. I haven't included udev rules for automatically using jscal-store and jscal-restore to setup joysticks but if maintainer wants them they can be easily added.
Created attachment 279241 [details] linuxconsoletools-1.4.1-ldflags.patch Fix warning on ldflags disrespect, remove unnecessary CPPFLAGS (no C++ here) and a hardcoded -O2 optimisation.
use-flag like 'udev' probably should be added for udev-rule and separate ebuild made for 'evtest' tool. also KEYWORDS in that one should most likely be "~x86 ~amd64" and not "x86", and maybe "mirror://sourceforge/project/linuxconsole/linuxconsoletools-${PV}.tar.bz2" is a more proper SRC_URI. from http://sourceforge.net/projects/linuxconsole/files/: "The evtest tool, which used to be part of this package, is now maintained separately at http://cgit.freedesktop.org/evtest/ and https://bugzilla.freedesktop.org/enter_bug.cgi?product=evtest" games-util/joystick from portage is really obsolete so it would be nice for portage maintainers to confirm this bug and fix it.
ar, you have already made evtest ebuild in bug 374215, good work! let's hope for its inclusion.
should be all set now in the tree; thanks for the report! Commit message: Version bump http://sources.gentoo.org/games-util/joystick/files/joystick-1.4.2-build.patch?rev=1.1 http://sources.gentoo.org/games-util/joystick/joystick-1.4.2.ebuild?rev=1.1