Created attachment 222785 [details] graphics_lua-gd.diff The current version of graphics/lua-gd is restricted to Lua 5.1. This patch adds support for Lua 5.2 and updates to the latest GitHub version. There has not been an official tagged release since 2.0.33r2 back in 2006, but fixes on the track for 2.0.33r3 have built up over the years, so I'm pretty sure we want them. Checklist: patch.......... works portlint -AC... happy portclippy..... silent poudriere...... passed on 12.2-RELEASE-p4
looks good to me Thanks
Q/A: patch did not apply cleanly. Would you mind checking it? Patch contains CRLF terminators. If you pasted it in bugzilla try to upload it as an attachment.
(In reply to Fernando Apesteguía from comment #2) The problem is that the upload function doesn't work for me, and I haven't quite figured out why. I just get a "Malformed multipart POST: data truncated" from attachment.cgi no matter what I try, with or without JavaScript enabled. In the meantime, I have uploaded the patch to my web server instead: https://www.gulbra.net/freebsd/ports/graphics_lua-gd.diff
(In reply to Henrik Gulbrandsen from comment #3) Sorry for that. I've never had this problem before.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d608f8c71624f61904fc4660b293de3de3d02d1b commit d608f8c71624f61904fc4660b293de3de3d02d1b Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-07-08 08:22:24 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-07-08 08:22:24 +0000 graphics/lua-gd: the port had been updated and improved (+) - Update the version 2.0.33r3 (it's not tagged yet, but that's what written inside their Makefile) and unrestrict from the particular version of Lua (now we need to set PKGNAMEPREFIX) - Simplify building: drop hand-rolled `do-build' target plus associated bits and use upstream routine, slightly adjusted - Development now happens at GitHub, update MASTER_SITES and the WWW line in the port description accordingly - Convert to option helpers and optimize some target recipes PR: 253811 graphics/lua-gd/Makefile | 42 +++++++++--------------------- graphics/lua-gd/distinfo | 5 ++-- graphics/lua-gd/files/patch-Makefile (new) | 18 +++++++++++++ graphics/lua-gd/pkg-descr | 2 +- graphics/lua-gd/pkg-plist | 7 +++-- 5 files changed, 38 insertions(+), 36 deletions(-)