From af76e728b3f309b6962847f06876e6c4c6a8c065 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 1 Jul 2019 12:05:09 +0200 Subject: [PATCH] Do not bind the openssl-compat interface. * In Nettle 3.5, the libdes/openssl compatibility interface is removed, breaking the build of nettle-sys. * Fix this by not binding any of the compatibility interfaces present in Nettle. * Fixes #4. From 7ec219212af8c1331a645b5a153bc2271bef19e6 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 8 Jul 2019 11:55:37 +0200 Subject: [PATCH] Fix building against latest Nettle. - `nettle/nettle-stdint.h` is no longer distributed with Nettle. Dropping it from `bindgen-wrapper.h` does not change the generated bindings, hence we do not need to bump the major version. - Tested against Nettle revision eead7cfa32c341b5193a697273de9fc7336e694a. - Fixes #5. --- cargo-crates/nettle-sys-1.0.1/bindgen-wrapper.h.orig 2017-11-30 11:38:42 UTC +++ cargo-crates/nettle-sys-1.0.1/bindgen-wrapper.h @@ -16,9 +16,7 @@ #include #include #include -#include #include -#include #include #include #include @@ -33,12 +31,10 @@ #include #include #include -#include #include #include #include #include -#include #include #include #include