Created attachment 233737 [details] Patch for argp-standalone Switch to active fork of argp-standalone which brings it up to date with glibc 2.33, some compatibility fixes on top and switches to using Meson Includes https://github.com/argp-standalone/argp-standalone/pull/8 and https://github.com/argp-standalone/argp-standalone/pull/9 Tested on FreeBSD 13.1-STABLE #0 stable/13-n250098-4081882c415 (amd64)
hselasky@ Can you have a look at this and also verify if your patch is still needed? Best regards, Daniel
Yes, I'll have a look. --HPS
Just install v4l-utils, and then run: dvbv5-scan --help If it it segfaults, this patch is bad. Else it has my fix. OK? --HPS
(In reply to Hans Petter Selasky from comment #3) Ahh, I wasn't sure how to trigger your test case :)
(In reply to Daniel Engberg from comment #4) Works on my end on 13.1 (amd64)
^Triage: reporter is committer, assign accordingly.
Created attachment 233857 [details] Patch for argp-standalone v2 Use upstreamed variant Following ports are compile tested using Poudriere on 12.3-RELEASE (amd64): net/linknx net/traff sysutils/xen-guest-tools archivers/zchunk audio/yoshimi comms/ebusd comms/telldus-core comms/tlf devel/dwarves devel/elfutils emulators/hugo games/3omns multimedia/libv4l multimedia/v4l-utils net/addrwatch net/glusterfs net/knxd security/cvechecker sysutils/f3 sysutils/fileschanged sysutils/freeipmi sysutils/xen-tools
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=408e5f1945c97df224e6245564a950ec93990a47 commit 408e5f1945c97df224e6245564a950ec93990a47 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-05-23 11:21:26 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-05-23 11:37:45 +0000 devel/argp-standalone: Update to 1.5.0 Switch to active fork of argp-standalone which brings it up to date with glibc 2.33, some compatibility fixes on top and switches to using Meson PR: 263784 devel/argp-standalone/Makefile | 18 +++++++------- devel/argp-standalone/distinfo | 7 ++++-- .../argp-standalone/files/patch-Makefile.am (gone) | 28 ---------------------- .../files/patch-acinclude.m4 (gone) | 20 ---------------- .../argp-standalone/files/patch-argp-help.c (gone) | 14 ----------- .../files/patch-configure.ac (gone) | 10 -------- .../files/patch-testsuite_Makefile.am (gone) | 11 --------- 7 files changed, 13 insertions(+), 95 deletions(-)