1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Fix build when using GCRYPT KNOB

- Bump PORTREVISION

PR:		ports/164835
Submitted by:	Hirohisa Yamaguchi <umq at ueo.co.jp>
Approved by:	jadawin@, miwi@ (mentors, implicit)
This commit is contained in:
Sofian Brabez 2012-02-08 06:58:34 +00:00
parent 6d0e01a6a1
commit 908d44f398
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290706
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= libssh2
PORTVERSION= 1.4.0
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= security devel
MASTER_SITES= http://www.libssh2.org/download/ \

View File

@ -0,0 +1,11 @@
--- ./src/libgcrypt.c.orig 2012-02-07 19:05:00.000000000 +0100
+++ ./src/libgcrypt.c 2012-02-07 19:05:11.000000000 +0100
@@ -581,7 +581,7 @@
const char *privatekey,
const char *passphrase)
{
- return _libssh_error(session, LIBSSH2_ERROR_FILE,
+ return _libssh2_error(session, LIBSSH2_ERROR_FILE,
"Unable to extract public key from private key file: "
"Method unimplemented in libgcrypt backend");
}