aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/nettle/files/patch-examples_nettle-openssl.c13
-rw-r--r--security/nettle2/files/patch-examples_nettle-openssl.c13
2 files changed, 26 insertions, 0 deletions
diff --git a/security/nettle/files/patch-examples_nettle-openssl.c b/security/nettle/files/patch-examples_nettle-openssl.c
new file mode 100644
index 000000000000..985dabbf146c
--- /dev/null
+++ b/security/nettle/files/patch-examples_nettle-openssl.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- examples/nettle-openssl.c.orig
++++ examples/nettle-openssl.c
+@@ -35,6 +35,7 @@
+ #define NCOMPAT
+ #define OPENSSL_DISABLE_OLD_DES_SUPPORT
+
++#include <sys/types.h>
+ #include <assert.h>
+
+ #include <openssl/aes.h>
diff --git a/security/nettle2/files/patch-examples_nettle-openssl.c b/security/nettle2/files/patch-examples_nettle-openssl.c
new file mode 100644
index 000000000000..985dabbf146c
--- /dev/null
+++ b/security/nettle2/files/patch-examples_nettle-openssl.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- examples/nettle-openssl.c.orig
++++ examples/nettle-openssl.c
+@@ -35,6 +35,7 @@
+ #define NCOMPAT
+ #define OPENSSL_DISABLE_OLD_DES_SUPPORT
+
++#include <sys/types.h>
+ #include <assert.h>
+
+ #include <openssl/aes.h>