aboutsummaryrefslogtreecommitdiff
path: root/net/nsd/patches
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-08-04 09:19:17 -0700
committerRosen Penev <rosenp@gmail.com>2019-08-04 15:20:33 -0700
commit6ba95fdac46cd6eae7e92f64b1cb33003bf3c802 (patch)
tree68d9a70df37156ec25a1e77f1ff1a0885de6d7e4 /net/nsd/patches
parentd9b8f42c470d543ea5c553be8963c5d850796ce6 (diff)
nsd: Update to 4.2.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/nsd/patches')
-rw-r--r--net/nsd/patches/010-musl.patch10
-rw-r--r--net/nsd/patches/020-openssl.patch13
2 files changed, 23 insertions, 0 deletions
diff --git a/net/nsd/patches/010-musl.patch b/net/nsd/patches/010-musl.patch
new file mode 100644
index 000000000..3ba61e408
--- /dev/null
+++ b/net/nsd/patches/010-musl.patch
@@ -0,0 +1,10 @@
+--- a/nsd-control.c
++++ b/nsd-control.c
+@@ -42,6 +42,7 @@
+ */
+
+ #include "config.h"
++#include <stdio.h>
+ #ifdef HAVE_SSL
+
+ #include <sys/types.h>
diff --git a/net/nsd/patches/020-openssl.patch b/net/nsd/patches/020-openssl.patch
new file mode 100644
index 000000000..31381ff7f
--- /dev/null
+++ b/net/nsd/patches/020-openssl.patch
@@ -0,0 +1,13 @@
+--- a/tsig.c
++++ b/tsig.c
+@@ -19,6 +19,10 @@
+ #include "query.h"
+ #include "rbtree.h"
+
++#ifndef HAVE_SSL
++#define CRYPTO_memcmp memcmp
++#endif
++
+ static region_type *tsig_region;
+
+ struct tsig_key_table