pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/57970 CVS commit: pkgsrc/textproc/nbsed
The following reply was made to PR pkg/57970; it has been noted by GNATS.
From: "David H. Gutteridge" <gutteridge%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/57970 CVS commit: pkgsrc/textproc/nbsed
Date: Wed, 20 Mar 2024 20:37:28 +0000
Module Name: pkgsrc
Committed By: gutteridge
Date: Wed Mar 20 20:37:28 UTC 2024
Modified Files:
pkgsrc/textproc/nbsed: Makefile
pkgsrc/textproc/nbsed/files: compile.c
Log Message:
nbsed: fix building on operating systems that don't have errc(3)
One of the simplest ways of addressing this is to switch to errx(3). It
seems unclear what the absolute minimums are for C compilers required
for bootstrap, and EILSEQ wasn't codified until the 1994 Normative
Amendment 1 to C89, so its value (per NetBSD) is hard-coded here, too.
This introduces a small diff to upstream, but seems safer than altering
libnbcompat this close to a quarterly branch freeze. (There are also
some questions about libnbcompat's current state to be added to a PR.)
Relates to PR pkg/57970.
Tested on Fedora Linux 39, which was previously broken.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/textproc/nbsed/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/nbsed/files/compile.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index