Created attachment 143710 [details] Proposed patch Patch to update games/warsow port from 1.5 to 1.51 version. Updated games/warsow-data port (to 1.51 version) required to run.
Over to maintainers.
Created attachment 144866 [details] Proposed patch (since 361986 revision) - Added patch according to 361986 revision changes - Renamed extension of the patch to diff
Created attachment 146752 [details] Proposed patch (since 361986 revision) Fixed some issues found by ports-mgmt/portlint. Also tested with poudriere and added (archived) build log.
Created attachment 146753 [details] The poudriere build log (FreeBSD 10 amd64)
Created attachment 147343 [details] Proposed patch (since 367888 revision) Updated diff file after PORTREVISION changes.
JFYI, the commit was delayed because it crashed on my box. The cause is that new version of warsow unconditionally uses XRandr, but it's not supported with nvidia blob, and the game crashes. Yesterday I've managed to hack-fix it, so I'm adding an option to disable XRandr and committing it.
(In reply to Dmitry Marakasov from comment #6) > JFYI, the commit was delayed because it crashed on my box. Ok, I understood. > The cause is that new version of warsow unconditionally uses XRandr, but > it's not supported with nvidia blob, and the game crashes. Yesterday I've > managed to hack-fix it, so I'm adding an option to disable XRandr and > committing it. I don't have such issues on my setup with following ports installed: x11/nvidia-driver-340.32 (new version, but also worked on previous one). x11-servers/xorg-server-1.7.7_14,1 x11-wm/xfce4-wm-4.10.1
I can confirm, there is presence of warsow.core file inside of home directory, from time to time. But I didn't see the reason of it, while application runs.
A commit references this bug: Author: amdmi3 Date: Thu Sep 25 20:18:06 UTC 2014 New revision: 369291 URL: http://svnweb.freebsd.org/changeset/ports/369291 Log: - Update to v1.51 PR: 190969 Submitted by: lightside@gmx.com Changes: head/games/warsow/Makefile head/games/warsow/distinfo head/games/warsow/files/extra-patch-no-xrandr head/games/warsow/files/patch-Makefile
Committed with minor changes: - Use PORTDATA - Make XRandr optional - Remove unneeded DIST_SUBDIR
After looking the patch to disable XRandr, I think there is a possibility to use XLib functions to get width and height of screen by using XDisplayWidth and XDisplayHeight functions. I propose the patch to complete the port for current version.
Created attachment 147711 [details] Proposed patch for no xrandr (since 369291 revision)
Ok, let's close this PR, which was related to the update, mainly.