security/libssh2: compile with HAVE_OPAQUE_STRUCTS to avoid upcoming

breakage. Regen patch while there.

ok benoit (maintainer)
This commit is contained in:
tb
2021-11-13 19:36:14 +00:00
parent 60ef0f54b4
commit 790ddd7e55
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.23 2021/10/15 09:47:37 benoit Exp $
# $OpenBSD: Makefile,v 1.24 2021/11/13 19:36:14 tb Exp $
COMMENT = library implementing the SSH2 protocol
DISTNAME = libssh2-1.10.0
CATEGORIES = security
SHARED_LIBS += ssh2 10.0 # .1.1
REVISION = 0
HOMEPAGE = https://www.libssh2.org/
@@ -20,6 +21,8 @@ MASTER_SITES = https://www.libssh2.org/download/
CONFIGURE_STYLE = gnu
CFLAGS += -DHAVE_OPAQUE_STRUCTS=1
# The second test will only pass if public key auth is configured for ${USER}
TEST_IS_INTERACTIVE = Yes
TEST_FLAGS="USER=${USER}"
@@ -1,8 +1,8 @@
$OpenBSD: patch-tests_Makefile_in,v 1.6 2019/06/28 12:33:45 benoit Exp $
$OpenBSD: patch-tests_Makefile_in,v 1.7 2021/11/13 19:36:14 tb Exp $
Index: tests/Makefile.in
--- tests/Makefile.in.orig
+++ tests/Makefile.in
@@ -543,7 +543,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/incl
@@ -587,7 +587,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/incl
LDADD = ../src/libssh2.la
@SSHD_TRUE@ssh2_SOURCES = ssh2.c
ctests = simple$(EXEEXT)