Created attachment 203345 [details] patch Merge commits from git: https://github.com/coelckers/gzdoom/commit/8892cb619d31975394acf12b5ff52931082789e6 https://github.com/coelckers/gzdoom/commit/2765159fc61625079729c066f2a455dded2f1a67 Also add BigLong overloaded function versions that are used and cast arguments in BigLong executions to specifically call the necessary variants. Tested on powerpc64 and amd64.
Comment on attachment 203345 [details] patch Patch seems to look good to me. Thanks!
Created attachment 203374 [details] v2 Better fix, already upstreamed.
(In reply to Piotr Kubaj from comment #2) Since 4.0.0 released today with your fix included, I'm inclined to say we should just go ahead and update to that. vulkan++
Created attachment 203623 [details] v3 Patch to upgrade 4.0.0, a new fix is necessary - Vulkan is enabled by default only on amd64 and build without Vulkan fails.
Created attachment 204022 [details] v4 Correct bad endif.
Comment on attachment 204022 [details] v4 LGTM
Created attachment 204193 [details] v5 You need to accept patches faster than upstream releases new versions :)
It looks like this version compiles without any patches.
Comment on attachment 204193 [details] v5 Ahhhh!!!! quick, commit it before another oen comes out. =-p
Created attachment 204200 [details] v6 Ok, one more time then :) Testing on 11.2 showed that there's bad include of malloc.h and a missing include of cwctype (for iswalpha). If you accept this patch, maybe you could just commit it? I'd have to ask my mentors so it will be easier if you just commit it.
Upstream PR at https://github.com/coelckers/gzdoom/pull/829.
Created attachment 204309 [details] v7 Upstream has merged my patches and released a new version.
A commit references this bug: Author: pkubaj Date: Fri May 10 13:03:28 UTC 2019 New revision: 501173 URL: https://svnweb.freebsd.org/changeset/ports/501173 Log: games/gzdoom: update to 4.1.1 Among many fixes, this brings compatibility with non-x86 platforms. PR: 236988 Approved by: kevans (maintainer), mat (mentor) Differential Revision: https://reviews.freebsd.org/D20149 Changes: head/games/gzdoom/Makefile