Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2024 20:13:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281787] japanese/mh: errno fixes
Message-ID:  <bug-281787-7788-1ucIt77AWM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281787-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-281787-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281787

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D993ca87fedcc6e2b7902c4438687dbb=
891f9de61

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(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281787-7788-1ucIt77AWM>