pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libssh Fix build on NetBSD 8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8911957babf
branches:  trunk
changeset: 407527:d8911957babf
user:      pho <pho%pkgsrc.org@localhost>
date:      Mon Jan 06 12:04:12 2020 +0000

description:
Fix build on NetBSD 8.1

diffstat:

 security/libssh/distinfo                      |   3 ++-
 security/libssh/patches/patch-tests_torture.c |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 293a82a04949 -r d8911957babf security/libssh/distinfo
--- a/security/libssh/distinfo  Mon Jan 06 11:53:23 2020 +0000
+++ b/security/libssh/distinfo  Mon Jan 06 12:04:12 2020 +0000
@@ -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 -r 293a82a04949 -r d8911957babf security/libssh/patches/patch-tests_torture.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libssh/patches/patch-tests_torture.c     Mon Jan 06 12:04:12 2020 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index