pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/netpgpverify/files update netpgpverify and li...
details: https://anonhg.NetBSD.org/pkgsrc/rev/902be535e112
branches: trunk
changeset: 357945:902be535e112
user: agc <agc%pkgsrc.org@localhost>
date: Wed Feb 01 18:09:26 2017 +0000
description:
update netpgpverify and libnetpgpverify to 20170201
+ make sure howmany() macro is defined
pointed out by cube - thanks!
diffstat:
security/netpgpverify/files/libverify.c | 4 ++++
security/netpgpverify/files/verify.h | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 914175640575 -r 902be535e112 security/netpgpverify/files/libverify.c
--- a/security/netpgpverify/files/libverify.c Wed Feb 01 15:28:11 2017 +0000
+++ b/security/netpgpverify/files/libverify.c Wed Feb 01 18:09:26 2017 +0000
@@ -306,6 +306,10 @@
#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 */
diff -r 914175640575 -r 902be535e112 security/netpgpverify/files/verify.h
--- a/security/netpgpverify/files/verify.h Wed Feb 01 15:28:11 2017 +0000
+++ b/security/netpgpverify/files/verify.h Wed Feb 01 18:09:26 2017 +0000
@@ -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