summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/libretls/Makefile2
-rw-r--r--security/libretls/files/patch-configure12
2 files changed, 13 insertions, 1 deletions
diff --git a/security/libretls/Makefile b/security/libretls/Makefile
index 3d1db9c72cfe..cbcf8759fd7f 100644
--- a/security/libretls/Makefile
+++ b/security/libretls/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libretls
PORTVERSION= 3.8.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security devel
MASTER_SITES= https://causal.agency/libretls/
diff --git a/security/libretls/files/patch-configure b/security/libretls/files/patch-configure
new file mode 100644
index 000000000000..f5d513d1de8a
--- /dev/null
+++ b/security/libretls/files/patch-configure
@@ -0,0 +1,12 @@
+--- configure.orig 2023-10-11 23:33:50 UTC
++++ configure
+@@ -12163,9 +12163,6 @@ fi
+ *freebsd*)
+ HOST_OS=freebsd
+ HOST_ABI=elf
+- # fork detection missing, weak seed on failure
+- # https://svnweb.freebsd.org/base/head/lib/libc/gen/arc4random.c?revision=268642&view=markup
+- USE_BUILTIN_ARC4RANDOM=yes
+ PROG_LDADD='-lthr'
+
+ ;;