pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/netpgpverify/files Provide PRIi64 definition ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92ced22abc8a
branches:  trunk
changeset: 376917:92ced22abc8a
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sun Mar 11 04:52:03 2018 +0000

description:
Provide PRIi64 definition where it doesn't exist (like IRIX).

diffstat:

 security/netpgpverify/files/libverify.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 5b3538ea9e42 -r 92ced22abc8a security/netpgpverify/files/libverify.c
--- a/security/netpgpverify/files/libverify.c   Sun Mar 11 04:07:19 2018 +0000
+++ b/security/netpgpverify/files/libverify.c   Sun Mar 11 04:52:03 2018 +0000
@@ -53,6 +53,10 @@
 #include "rsa.h"
 #include "verify.h"
 
+#ifndef PRIi64
+#define PRIi64 "lld"
+#endif
+
 /* 64bit key ids */
 #define PGPV_KEYID_LEN         8
 #define PGPV_STR_KEYID_LEN     (PGPV_KEYID_LEN + PGPV_KEYID_LEN + 1)



Home | Main Index | Thread Index | Old Index