opendoas

my fork of doas with custom prompt
git clone git://git.kocotian.pl/opendoas.git
Log | Files | Refs | README | LICENSE

commit 13660d7c9902705c4b2e3f42b101d813599cd2af
parent 46db70a5a455c713e55d39551335ab215f36b3a3
Author: Duncan Overbruck <mail@duncano.de>
Date:   Thu, 12 Nov 2020 16:49:13 +0100

set _OPENBSD_SOURCE on NetBSD

Diffstat:
Mconfigure | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure b/configure @@ -125,6 +125,9 @@ case "$OS" in OS_CFLAGS="$OS_CFLAGS -D_DEFAULT_SOURCE -D_GNU_SOURCE" printf 'CURDIR := .\n' >>$CONFIG_MK ;; + netbsd) + OS_CFLAGS="$OS_CFLAGS -D_OPENBSD_SOURCE" + ;; esac [ -n "$OS_CFLAGS" ] && \