head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.4 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.2 pkgsrc-2025Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2025.12.18.19.46.12; author vins; state Exp; branches; next 1.1; commitid xI70EJMSdbm1yVmG; 1.1 date 2025.12.07.12.21.56; author vins; state Exp; branches; next ; commitid d04ngu9GRlswrtlG; desc @@ 1.2 log @opendoas: one more fix @ text @$NetBSD: patch-configure,v 1.1 2025/12/07 12:21:56 vins Exp $ * Fix value assignment to GID_MAX. * Fix compiler host detection, by renaming HOST variable. --- configure.orig 2022-01-26 16:01:11.000000000 +0000 +++ configure @@@@ -54,7 +54,7 @@@@ for x; do --sysconfdir) SYSCONFDIR=$var ;; --pamdir) PAMDIR=$var ;; --build) BUILD=$var ;; - --host) HOST=$var ;; + --host) HOSTCC=$var ;; --target) TARGET=$var ;; --enable-debug) DEBUG=yes ;; --enable-static) BUILD_STATIC=yes ;; @@@@ -65,7 +65,7 @@@@ for x; do --with-timestamp) WITHOUT_TIMESTAMP= ;; --without-timestamp) WITHOUT_TIMESTAMP=yes ;; --uid-max) UID_MAX=$var ;; - --gid-max) UID_MAX=$var ;; + --gid-max) GID_MAX=$var ;; --help|-h) usage ;; *) die "Error: unknown option $opt" ;; esac @@@@ -84,13 +84,13 @@@@ cat <$CONFIG_H if [ -z "$BUILD" ]; then BUILD="$(uname -m)-unknown-$(uname -s | tr '[:upper:]' '[:lower:]')" fi -if [ -z "$HOST" ]; then +if [ -z "$HOSTCC" ]; then [ -z "$TARGET" ] && TARGET=$BUILD - HOST=$TARGET + HOSTCC=$TARGET fi if [ -z "$TARGET" ]; then - [ -z "$HOST" ] && HOST=$BUILD - TARGET=$HOST + [ -z "$HOSTCC" ] && HOSTCC=$BUILD + TARGET=$HOSTCC fi if [ -z "$OS" ]; then @ 1.1 log @security/opendoas: some fixes @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 * Correct value assignment to GID_MAX. @