Skip to content

Commit 5693f95

Browse files
rolandbaerchelmuth
authored andcommitted
nettle: fix nettle port
- added stdlib.h to nettle-internal - added missing end of line in testutils-patch - renamed nettle_random-prime.run to nettle-random-prime.run Fixes #409
1 parent 01c7db9 commit 5693f95

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

ports/nettle.hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dcaf0a5debed2d68fa5253bd6d8780b0659234b9
1+
062dc5bae7a651cc6622127cc8a0152b3a261899

ports/nettle.port

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ SHA(nettle) := f001f64eb444bf13dd91bceccbc20acbc60c4311d6e2b20878452eb9a9cec75a
77
DIR(nettle) := src/lib/nettle
88

99
PATCHES := src/lib/nettle/timing.patch \
10-
src/lib/nettle/testutils.patch
10+
src/lib/nettle/testutils.patch \
11+
src/lib/nettle/nettle-internal.patch
1112

1213
DIRS := include/nettle
1314
DIR_CONTENT(include/nettle) := src/lib/nettle/aes.h \
File renamed without changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- src/lib/nettle/nettle-internal.h.orig 2025-08-30 16:44:03.404100116 +0200
2+
+++ src/lib/nettle/nettle-internal.h 2025-06-01 20:59:41.819681876 +0200
3+
@@ -36,7 +36,7 @@
4+
#define NETTLE_INTERNAL_H_INCLUDED
5+
6+
#include <assert.h>
7+
-
8+
+#include <stdlib.h>
9+
#include "nettle-meta.h"
10+
11+
/* For definition of NETTLE_MAX_HASH_CONTEXT_SIZE. */

src/lib/nettle/testutils.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
-# include "gmp-glue.h"
1717
# if NETTLE_USE_MINI_GMP
1818
# include "knuth-lfib.h"
19-
# endif
19+
# endif

0 commit comments

Comments
 (0)