Skip to content

Commit

Permalink
Fix build on NetBSD 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
depressed-pho committed Jan 6, 2020
1 parent 2d5129a commit fc67d30
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion security/libssh/distinfo
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions security/libssh/patches/patch-tests_torture.c
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit fc67d30

Please sign in to comment.