Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 472991A921F for ; Sun, 3 Apr 2022 22:22:58 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 5A2FB84F2A; Sun, 3 Apr 2022 22:22:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 927AB84F24 for ; Sun, 3 Apr 2022 22:22:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Kbc8O2SxoJ5L for ; Sun, 3 Apr 2022 22:22:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id DA64584D4B for ; Sun, 3 Apr 2022 22:22:55 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C766CFB24; Sun, 3 Apr 2022 22:22:55 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1649024575121430" MIME-Version: 1.0 Date: Sun, 3 Apr 2022 22:22:55 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/security/netpgpverify/files To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20220403222255.C766CFB24@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1649024575121430 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Sun Apr 3 22:22:55 UTC 2022 Modified Files: pkgsrc/security/netpgpverify/files: configure Log Message: netpgpverify: add configure quirks to get strtoull on legacy platforms To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/netpgpverify/files/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1649024575121430 Content-Disposition: inline Content-Length: 1008 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/netpgpverify/files/configure diff -u pkgsrc/security/netpgpverify/files/configure:1.1 pkgsrc/security/netpgpverify/files/configure:1.2 --- pkgsrc/security/netpgpverify/files/configure:1.1 Sat Mar 16 07:32:34 2013 +++ pkgsrc/security/netpgpverify/files/configure Sun Apr 3 22:22:55 2022 @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: configure,v 1.1 2013/03/16 07:32:34 agc Exp $ +# $NetBSD: configure,v 1.2 2022/04/03 22:22:55 tnn Exp $ # Copyright (c) 2013 Alistair Crooks # All rights reserved. @@ -54,6 +54,13 @@ echo "#define USE_ARG(x) /*LINTED* echo "#endif /* USE_ARG */" >> config.h echo "" >> config.h + +if [ "`uname -s`" = "OSF1" ]; then + echo "#define strtoull(nptr, endptr, base) strtoul(nptr, endptr, base)" >> config.h +elif [ "`uname -s`" = "HP-UX" ]; then + echo "#define strtoull(nptr, endptr, base) __strtoull(nptr, endptr, base)" >> config.h +fi + echo "#endif /* CONFIG_H_ */" >> config.h for f in Makefile.in; do --_----------=_1649024575121430--