pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/netpgpverify/files



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.

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 <agc%NetBSD.org@localhost>
 # 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



Home | Main Index | Thread Index | Old Index