Created attachment 227745 [details] Patch for tagutil Rework Makefile to follow Porter's Handbook Remove hardcoded generic optimization Remove compiler flags -o aslr and -fsanitize=undefined to fix build on other platforms than x86 Compile and lightly runtime tested on FreeBSD 13.0-STABLE #0 stable/13-n246453-06887e06864-dirty (arm64) Poudriere testport OK 12.2-RELEASE (amd64) Poudriere testport OK 11.4-RELEASE (amd64) Reference: https://portsfallout.com/port/1205/
Thanks Daniel, diff LGTM. I'll definitely adapt CMakeLists.txt for the next release so that we don't need patching.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb6ad88501bf6d3d8ff5f768a4f2e35182e8e44c commit fb6ad88501bf6d3d8ff5f768a4f2e35182e8e44c Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2021-09-12 08:26:53 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2021-09-12 08:34:39 +0000 audio/tagutil: Rework Makefile to follow Porter's Handbook PR: 258351 Reviewed by: Alexandre Perrin (maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D31912 audio/tagutil/Makefile | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9801478002375acca3401fc401de7c629051d9b commit f9801478002375acca3401fc401de7c629051d9b Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2021-09-12 08:35:45 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2021-09-12 08:35:49 +0000 audio/tagutil: Adjust hardcoded compiler flags Remove hardcoded generic optimization Remove compiler flags -o aslr and -fsanitize=undefined to fix build on other platforms than x86 PR: 258351 Reported by: pkg-fallout Reviewed by: Alexandre Perrin (maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D31912 audio/tagutil/files/patch-src_CMakeLists.txt (new) | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
Comitted
Hi Alex, Can you also fix so switches (WITHOUT) work as expected? As far as I can tell currently it just checks if the variable is defined or not, not the actual value. Best regards, Daniel