From nobody Fri Jul 05 17:08:51 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WG0NX07XLz5Pxpc for ; Fri, 05 Jul 2024 17:09:00 +0000 (UTC) (envelope-from izder456@disroot.org) Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WG0NW2GNMz4VFd; Fri, 5 Jul 2024 17:08:59 +0000 (UTC) (envelope-from izder456@disroot.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=disroot.org header.s=mail header.b=ORYKy1VL; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (mx1.freebsd.org: domain of izder456@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=izder456@disroot.org X-Virus-Scanned: SPAM Filter at disroot.org Date: Fri, 5 Jul 2024 12:08:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1720199337; bh=k5gBgA8fCGtMLYBtJqcAQtTOXdnZqD7Sssd10OvnLcs=; h=Date:From:To:Cc:Subject; b=ORYKy1VLuPiRIDrCuC+4QBMEzaQfh0PD4WBZeKBjsHfxk8U3NtS5BBYAC7Ftnnky4 Wwff8jgUVVDljrJkUvMOvKs4NuEx2kf1CIFKMcxBt5RhkvK4dd/GWQHpaH66jnqETU SCaxBBqjeTNpdMrTTKXrYFsK5elMam+7KmmdvwIhsDeOJLo8L01EDeCc/PnSibRpbJ KQ48ghmTkYeKzW6T1V3CILmsbuNiO47vrJv1pctneYJluCfZ8bBYUn3gVvbnAfjXUC VEHNCPx2Q/mgLTvbcvSc5pooE8Ov2VaawzdktAdQVgNyj8LWnujtkZOLTJ8+2+gEVX /f84x1zj7Q9/w== From: izder456 To: freebsd-ports@freebsd.org Cc: pkubaj@FreeBSD.org Subject: POTENTIAL FIX: games/Nanosaur Message-ID: <20240705120851.3de5f977@Panasonic-OpenBaSeD.lan> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/C7/Fgy/dtFX7kF4+Z=T70im" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[disroot.org,reject]; R_DKIM_ALLOW(-0.20)[disroot.org:s=mail]; R_SPF_ALLOW(-0.20)[+a:c]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; ASN(0.00)[asn:50673, ipnet:178.21.23.0/24, country:NL]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[disroot.org:+]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4WG0NW2GNMz4VFd --MP_/C7/Fgy/dtFX7kF4+Z=T70im Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello- I take MAINTAINER for the games/nanosaur port for OpenBSD. Someone I know who runs FreeBSD tried to run the FreeBSD port of the same software, but it doesn't seem to exit cleanly, and fails to create a .core dump. https://www.freshports.org/games/Nanosaur/ It doesn't look like the FreeBSD port patches the src/Boot.cpp file like I did that fixes this core dumping issue over on OpenBSD. Instead, the porter wrote a wrapper script, (ew, yucky): https://cgit.freebsd.org/ports/tree/games/Nanosaur/files/Nanosaur.in Perhaps you guys can rip the patch that I wrote to fix the core dumping problem? https://cvsweb.openbsd.org/ports/games/nanosaur/patches/patch-src_Boot_cpp All I want is the ultimate portability of this great game. Just a tip. The patch for src/Boot.cpp is attached to this mail. I don't have a FreeBSD box to test on, but in theory, this *should* work. Cheers! -- -iz (they/them) > i like to say mundane things, > there are too many uninteresting things > that go unnoticed. izder456 (dot) neocities (dot) org --MP_/C7/Fgy/dtFX7kF4+Z=T70im Content-Type: application/octet-stream; name=patch-src_Boot_cpp Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=patch-src_Boot_cpp LS0tIHNyYy9Cb290LmNwcC5vcmlnCVRodSBGZWIgIDEgMTI6NDQ6MDggMjAyNAorKysgc3JjL0Jv b3QuY3BwCVRodSBGZWIgIDEgMTI6NDQ6NTUgMjAyNApAQCAtNDgsNyArNDgsNyBAQAogCWRhdGFQ YXRoID0gcGF0aGJ1ZjsKIAlkYXRhUGF0aCA9IGRhdGFQYXRoLnBhcmVudF9wYXRoKCkucGFyZW50 X3BhdGgoKSAvICJSZXNvdXJjZXMiOwogI2Vsc2UKLQlkYXRhUGF0aCA9ICJEYXRhIjsKKwlkYXRh UGF0aCA9ICIke1RSVUVQUkVGSVh9L3NoYXJlL25hbm9zYXVyIjsKICNlbmRpZgogCiAJZGF0YVBh dGggPSBkYXRhUGF0aC5sZXhpY2FsbHlfbm9ybWFsKCk7Cg== --MP_/C7/Fgy/dtFX7kF4+Z=T70im--