View | Details | Raw Unified | Return to bug 238991
Collapse All | Expand All

(-)devel/pijul/files/patch-cargo-crates_nettle-sys-1.0.1_bindgen-wrapper.h (+51 lines)
Line 0 Link Here
1
From af76e728b3f309b6962847f06876e6c4c6a8c065 Mon Sep 17 00:00:00 2001
2
From: Justus Winter <justus@sequoia-pgp.org>
3
Date: Mon, 1 Jul 2019 12:05:09 +0200
4
Subject: [PATCH] Do not bind the openssl-compat interface.
5
6
  * In Nettle 3.5, the libdes/openssl compatibility interface is
7
    removed, breaking the build of nettle-sys.
8
9
  * Fix this by not binding any of the compatibility interfaces
10
    present in Nettle.
11
12
  * Fixes #4.
13
14
From 7ec219212af8c1331a645b5a153bc2271bef19e6 Mon Sep 17 00:00:00 2001
15
From: Justus Winter <justus@sequoia-pgp.org>
16
Date: Mon, 8 Jul 2019 11:55:37 +0200
17
Subject: [PATCH] Fix building against latest Nettle.
18
19
  - `nettle/nettle-stdint.h` is no longer distributed with Nettle.
20
    Dropping it from `bindgen-wrapper.h` does not change the generated
21
    bindings, hence we do not need to bump the major version.
22
23
  - Tested against Nettle revision
24
    eead7cfa32c341b5193a697273de9fc7336e694a.
25
26
  - Fixes #5.
27
--- cargo-crates/nettle-sys-1.0.1/bindgen-wrapper.h.orig	2017-11-30 11:38:42 UTC
28
+++ cargo-crates/nettle-sys-1.0.1/bindgen-wrapper.h
29
@@ -16,9 +16,7 @@
30
 #include <nettle/chacha.h>
31
 #include <nettle/ctr.h>
32
 #include <nettle/curve25519.h>
33
-#include <nettle/des-compat.h>
34
 #include <nettle/des.h>
35
-#include <nettle/dsa-compat.h>
36
 #include <nettle/dsa.h>
37
 #include <nettle/eax.h>
38
 #include <nettle/ecc-curve.h>
39
@@ -33,12 +31,10 @@
40
 #include <nettle/macros.h>
41
 #include <nettle/md2.h>
42
 #include <nettle/md4.h>
43
-#include <nettle/md5-compat.h>
44
 #include <nettle/md5.h>
45
 #include <nettle/memops.h>
46
 #include <nettle/memxor.h>
47
 #include <nettle/nettle-meta.h>
48
-#include <nettle/nettle-stdint.h>
49
 #include <nettle/nettle-types.h>
50
 #include <nettle/pbkdf2.h>
51
 #include <nettle/pgp.h>

Return to bug 238991