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:   agc
Date:           Wed Feb  1 18:09:26 UTC 2017

Modified Files:
        pkgsrc/security/netpgpverify/files: libverify.c verify.h

Log Message:
update netpgpverify and libnetpgpverify to 20170201

+ make sure howmany() macro is defined

pointed out by cube - thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/security/netpgpverify/files/libverify.c
cvs rdiff -u -r1.36 -r1.37 pkgsrc/security/netpgpverify/files/verify.h

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/libverify.c
diff -u pkgsrc/security/netpgpverify/files/libverify.c:1.25 pkgsrc/security/netpgpverify/files/libverify.c:1.26
--- pkgsrc/security/netpgpverify/files/libverify.c:1.25 Sun Aug 28 23:23:40 2016
+++ pkgsrc/security/netpgpverify/files/libverify.c      Wed Feb  1 18:09:26 2017
@@ -306,6 +306,10 @@ struct pgpv_cursor_t {
 #define MIN(a,b)                       (((a)<(b))?(a):(b))
 #endif
 
+#ifndef howmany
+#define howmany(x, y)                  (((x)+((y)-1))/(y))
+#endif
+
 #define BITS_TO_BYTES(b)               (((b) + (CHAR_BIT - 1)) / CHAR_BIT)
 
 /* packet types */

Index: pkgsrc/security/netpgpverify/files/verify.h
diff -u pkgsrc/security/netpgpverify/files/verify.h:1.36 pkgsrc/security/netpgpverify/files/verify.h:1.37
--- pkgsrc/security/netpgpverify/files/verify.h:1.36    Sun Aug 28 23:23:40 2016
+++ pkgsrc/security/netpgpverify/files/verify.h Wed Feb  1 18:09:26 2017
@@ -23,9 +23,9 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #ifndef NETPGP_VERIFY_H_
-#define NETPGP_VERIFY_H_       20160828
+#define NETPGP_VERIFY_H_       20170201
 
-#define NETPGPVERIFY_VERSION   "netpgpverify portable 20160828"
+#define NETPGPVERIFY_VERSION   "netpgpverify portable 20170201"
 
 #include <sys/types.h>
 



Home | Main Index | Thread Index | Old Index