[Bug 281787] japanese/mh: errno fixes
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 281787] japanese/mh: errno fixes"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Oct 2024 20:13:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281787 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=993ca87fedcc6e2b7902c4438687dbb891f9de61 commit 993ca87fedcc6e2b7902c4438687dbb891f9de61 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-09-30 23:03:36 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-10-01 20:11:47 +0000 japanese/mh: include errno.h for errno errno must be accessed by a macro from errno.h. Due to the sheer number of instances use REINPLACE_CMD to replace most instances of "extern int errno;" with "#include <errno.h>". In a few places the errno decleration was a function-scope global where including a header didn't make sense patch those out (the files already included errno.h). This isn't the most elegant, but it's the least of the issues with this code. PR: 281787 Approved by: portmgr (build fix blanket), mikael japanese/mh/Makefile | 5 ++++- japanese/mh/files/patch-sbr_ruserpass.c (new) | 10 ++++++++++ japanese/mh/files/patch-uip_mshcmds.c (new) | 19 +++++++++++++++++++ japanese/mh/files/patch-zotnet_mf_muinc.c (new) | 10 ++++++++++ japanese/mh/files/patch-zotnet_mf_uminc.c (new) | 10 ++++++++++ 5 files changed, 53 insertions(+), 1 deletion(-) -- You are receiving this mail because: You are the assignee for the bug.