summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-06 12:04:12 +0000
committerpho <pho@pkgsrc.org>2020-01-06 12:04:12 +0000
commit09be65f8a7fd7eab6c5768f49dc8b919c72ff4a1 (patch)
tree502b429eb5d3d2e73ad288970d6328a02cc53588 /security
parente850bde6b438de074a68acda188927463ec8e915 (diff)
downloadpkgsrc-09be65f8a7fd7eab6c5768f49dc8b919c72ff4a1.tar.gz
Fix build on NetBSD 8.1
Diffstat (limited to 'security')
-rw-r--r--security/libssh/distinfo3
-rw-r--r--security/libssh/patches/patch-tests_torture.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/security/libssh/distinfo b/security/libssh/distinfo
index 6515190e731..95c4fe6ebda 100644
--- a/security/libssh/distinfo
+++ b/security/libssh/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.20 2019/12/31 12:27:03 wiz Exp $
+$NetBSD: distinfo,v 1.21 2020/01/06 12:04:12 pho Exp $
SHA1 (libssh-0.9.3.tar.xz) = 24bb9d6f53691236f34cc8e6fec86dd659aef757
RMD160 (libssh-0.9.3.tar.xz) = ef2f8e5564f7508db4829fe655644d959e35da5d
SHA512 (libssh-0.9.3.tar.xz) = 6e59718565daeca6d224426cc1095a112deff9af8e0b021917e04f08bb7409263c35724de95f591f38e26f0fb3bbbbc69b679b6775edc21dec158d241b076c6f
Size (libssh-0.9.3.tar.xz) = 500068 bytes
SHA1 (patch-CompilerChecks.cmake) = 77b93572006132c557cb9a57698e8455f7874073
+SHA1 (patch-tests_torture.c) = 2c70e9d827f15ec36a62e0d0f5dd98774f24f79e
diff --git a/security/libssh/patches/patch-tests_torture.c b/security/libssh/patches/patch-tests_torture.c
new file mode 100644
index 00000000000..f086676fcf2
--- /dev/null
+++ b/security/libssh/patches/patch-tests_torture.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-tests_torture.c,v 1.1 2020/01/06 12:04:13 pho Exp $
+
+Fix build on NetBSD 8.1: Don't try to use PATH_MAX without #include <limits.h>
+
+--- tests/torture.c.orig 2020-01-06 12:01:16.440174806 +0000
++++ tests/torture.c
+@@ -29,6 +29,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <signal.h>
++#include <limits.h>
+
+ #ifndef _WIN32
+ # include <dirent.h>