From 55a67772d2944f18262c120df10218163dfc221b Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 16 Dec 2016 00:01:31 +0000 Subject: Newer Ocaml no longer defines uint32, so use standard types. --- security/sks/distinfo | 3 ++- security/sks/patches/patch-cryptokit-1.7-sks.patch | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 security/sks/patches/patch-cryptokit-1.7-sks.patch (limited to 'security/sks') diff --git a/security/sks/distinfo b/security/sks/distinfo index 1b288f74daa..103564bbf68 100644 --- a/security/sks/distinfo +++ b/security/sks/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2015/11/04 01:18:09 agc Exp $ +$NetBSD: distinfo,v 1.6 2016/12/16 00:01:31 joerg Exp $ SHA1 (sks-1.1.5.tgz) = a353426e99de3fb02bf93b953f574335a9f2a590 RMD160 (sks-1.1.5.tgz) = f47543870313f6bd0868e702849eb717aa045d67 @@ -8,3 +8,4 @@ SHA1 (patch-aa) = 04f74c6f141d71e3b0cd45e68896be93dffd0b7c SHA1 (patch-ab) = 919846f9c31a89f23430081dbad853d088dcb7e5 SHA1 (patch-ac) = 0fbe22e67681970521ae66ca1903e9e95eda52ad SHA1 (patch-ad) = f96b913bc7ad6b5bd11a51569fc28ee042b1667c +SHA1 (patch-cryptokit-1.7-sks.patch) = 5d50af8d169df2b96a850d7ffdb67f9d51e3e955 diff --git a/security/sks/patches/patch-cryptokit-1.7-sks.patch b/security/sks/patches/patch-cryptokit-1.7-sks.patch new file mode 100644 index 00000000000..4338722ad9e --- /dev/null +++ b/security/sks/patches/patch-cryptokit-1.7-sks.patch @@ -0,0 +1,22 @@ +$NetBSD: patch-cryptokit-1.7-sks.patch,v 1.1 2016/12/16 00:01:31 joerg Exp $ + +--- cryptokit-1.7-sks.patch.orig 2016-12-15 16:51:50.031027323 +0000 ++++ cryptokit-1.7-sks.patch +@@ -143,3 +143,17 @@ diff -urN cryptokit-1.7-orig/src/cryptok + let num_equals = + match ipos with 1 -> 2 | 2 -> 1 | _ -> 0 in + self#ensure_capacity num_equals; ++diff -urN cryptokit-1.7-orig/src/stubs-md5.c cryptokit-1.7/src/stubs-md5.c ++--- cryptokit-1.7-orig/src/stubs-md5.c 2016-12-15 16:48:54.901368026 +0000 +++++ cryptokit-1.7/src/stubs-md5.c 2016-12-15 16:48:54.901368026 +0000 ++@@ -18,8 +18,8 @@ ++ #include ++ ++ struct MD5Context { ++- uint32 buf[4]; ++- uint32 bits[2]; +++ uint32_t buf[4]; +++ uint32_t bits[2]; ++ unsigned char in[64]; ++ }; ++ -- cgit v1.2.3