annotate src/libssh2-1-fixes.patch @ 4673:010dc6a420ff

stable-octave: bump version number
author John W. Eaton <jwe@octave.org>
date Thu, 19 Apr 2018 21:57:06 -0400
parents 7ba850535b45
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4269
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
1 From 65ae975e2a670869580e289d5d9bf255d2a10209 Mon Sep 17 00:00:00 2001
2710
d427b570804c package libssh2: use upstream fix for gcrypt dep
Mark Brand <mabrand@mabrand.nl>
parents: 2549
diff changeset
2 From: Mark Brand <mabrand@mabrand.nl>
d427b570804c package libssh2: use upstream fix for gcrypt dep
Mark Brand <mabrand@mabrand.nl>
parents: 2549
diff changeset
3 Date: Sun, 2 Sep 2012 00:55:28 +0200
4269
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
4 Subject: [PATCH 1/2] include gpg-error with gcrypt for static linking
2710
d427b570804c package libssh2: use upstream fix for gcrypt dep
Mark Brand <mabrand@mabrand.nl>
parents: 2549
diff changeset
5 (mxe-specific)
d427b570804c package libssh2: use upstream fix for gcrypt dep
Mark Brand <mabrand@mabrand.nl>
parents: 2549
diff changeset
6
4269
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
7 Git rid of the extra -lgcrypt here since we have to pass the
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
8 whole list via LIBS. Otherwise, LIBS gets simplified with
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
9 -lgcrypt appearing only after its static dependencies.
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
10
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
11 diff --git a/acinclude.m4 b/acinclude.m4
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
12 index 734ef07..a6ee65a 100644
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
13 --- a/acinclude.m4
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
14 +++ b/acinclude.m4
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
15 @@ -423,7 +423,6 @@ AC_DEFUN([LIBSSH2_CHECKFOR_GCRYPT], [
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
16 if test "$ac_cv_libgcrypt" = "yes"; then
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
17 AC_DEFINE(LIBSSH2_LIBGCRYPT, 1, [Use libgcrypt])
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
18 LIBSREQUIRED= # libgcrypt doesn't provide a .pc file. sad face.
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
19 - LIBS="$LIBS -lgcrypt"
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
20 found_crypto=libgcrypt
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
21 else
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
22 # restore
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
23 --
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
24 2.9.3
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
25
2232
961e62f6634a update package libssh2
Mark Brand <mabrand@mabrand.nl>
parents: 2060
diff changeset
26
4269
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
27 From fb65371e600772e72491f06a368a727c96d525c7 Mon Sep 17 00:00:00 2001
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
28 From: Mark Brand <mabrand@mabrand.nl>
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
29 Date: Mon, 7 Nov 2016 10:47:13 +0100
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
30 Subject: [PATCH 2/2] fix yes/no in lib path
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
31
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
32
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
33 diff --git a/acinclude.m4 b/acinclude.m4
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
34 index a6ee65a..510a0d3 100644
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
35 --- a/acinclude.m4
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
36 +++ b/acinclude.m4
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
37 @@ -386,10 +386,6 @@ AC_DEFUN([LIBSSH2_CHECKFOR_MBEDTLS], [
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
38
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
39 old_LDFLAGS=$LDFLAGS
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
40 old_CFLAGS=$CFLAGS
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
41 - if test -n "$use_mbedtls" && test "$use_mbedtls" != "no"; then
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
42 - LDFLAGS="$LDFLAGS -L$use_mbedtls/lib"
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
43 - CFLAGS="$CFLAGS -I$use_mbedtls/include"
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
44 - fi
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
45
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
46 AC_LIB_HAVE_LINKFLAGS([mbedtls], [], [
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
47 #include <mbedtls/version.h>
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
48 @@ -412,10 +408,6 @@ AC_DEFUN([LIBSSH2_CHECKFOR_GCRYPT], [
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
49
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
50 old_LDFLAGS=$LDFLAGS
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
51 old_CFLAGS=$CFLAGS
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
52 - if test -n "$use_libgcrypt" && test "$use_libgcrypt" != "no"; then
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
53 - LDFLAGS="$LDFLAGS -L$use_libgcrypt/lib"
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
54 - CFLAGS="$CFLAGS -I$use_libgcrypt/include"
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
55 - fi
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
56 AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
57 #include <gcrypt.h>
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
58 ])
2710
d427b570804c package libssh2: use upstream fix for gcrypt dep
Mark Brand <mabrand@mabrand.nl>
parents: 2549
diff changeset
59 --
4269
7ba850535b45 libssh2: update to 1.8.0
John D
parents: 3846
diff changeset
60 2.9.3
2710
d427b570804c package libssh2: use upstream fix for gcrypt dep
Mark Brand <mabrand@mabrand.nl>
parents: 2549
diff changeset
61