pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/ocamlnet
Module Name: pkgsrc
Committed By: joerg
Date: Sun Jan 7 21:01:09 UTC 2018
Modified Files:
pkgsrc/net/ocamlnet: distinfo
Added Files:
pkgsrc/net/ocamlnet/patches: patch-src_nettls-nettle.c
Log Message:
Fix build against newer nettle.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/net/ocamlnet/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/ocamlnet/patches/patch-src_nettls-nettle.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/ocamlnet/distinfo
diff -u pkgsrc/net/ocamlnet/distinfo:1.24 pkgsrc/net/ocamlnet/distinfo:1.25
--- pkgsrc/net/ocamlnet/distinfo:1.24 Mon Sep 4 18:17:47 2017
+++ pkgsrc/net/ocamlnet/distinfo Sun Jan 7 21:01:09 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2017/09/04 18:17:47 jaapb Exp $
+$NetBSD: distinfo,v 1.25 2018/01/07 21:01:09 joerg Exp $
SHA1 (ocamlnet-4.1.4.tar.gz) = f7bb6e98f2c35850fb8dce428c061ce316d55ce2
RMD160 (ocamlnet-4.1.4.tar.gz) = a71a5c894db5c540e5b47df750ea4a1468ea7bf8
@@ -7,3 +7,4 @@ Size (ocamlnet-4.1.4.tar.gz) = 4552969 b
SHA1 (patch-Makefile.rules) = 124b787309e39334036681035e0687120da672c8
SHA1 (patch-src_netsys_Makefile) = 9edbac14c5f5840933f3e93b27bb95750e946089
SHA1 (patch-src_netsys_netsys__c.c) = d83d7746267523456696057bdd2ade74a9313f01
+SHA1 (patch-src_nettls-nettle.c) = 75748ff2fd30ff6f54f15b9646a22b420d108f28
Added files:
Index: pkgsrc/net/ocamlnet/patches/patch-src_nettls-nettle.c
diff -u /dev/null pkgsrc/net/ocamlnet/patches/patch-src_nettls-nettle.c:1.1
--- /dev/null Sun Jan 7 21:01:09 2018
+++ pkgsrc/net/ocamlnet/patches/patch-src_nettls-nettle.c Sun Jan 7 21:01:09 2018
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_nettls-nettle.c,v 1.1 2018/01/07 21:01:09 joerg Exp $
+
+Newer nettle versions provide macros for this purpose.
+
+--- src/nettls-gnutls/nettle.c.orig 2017-08-14 13:16:50.-06639040 +0000
++++ src/nettls-gnutls/nettle.c
+@@ -98,7 +98,7 @@ static const char *net_nettle_cipher_nam
+ return cipher->name;
+ }
+
+-#ifndef HAVE_FUN_nettle_ciphers
++#if !defined(HAVE_FUN_nettle_ciphers) && !defined(nettle_ciphers)
+ const struct nettle_cipher * const nettle_ciphers[] = {
+ &nettle_aes128,
+ &nettle_aes192,
+@@ -337,7 +337,7 @@ static void net_nettle_hash_digest(net_n
+ hash->digest(ctx, length, dst);
+ }
+
+-#ifndef HAVE_FUN_nettle_hashes
++#if defined(HAVE_FUN_nettle_hashes) && !defined(nettle_hashes)
+ const struct nettle_hash * const nettle_hashes[] = {
+ &nettle_md2,
+ &nettle_md4,
Home |
Main Index |
Thread Index |
Old Index