package/libssh: add patch to fix reported version
authorHeiko Thiery <heiko.thiery@gmail.com>
Wed, 15 Apr 2020 10:46:40 +0000 (12:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 17 Apr 2020 20:10:27 +0000 (22:10 +0200)
The released libssh package does wrongly reports the previous version.
This patch fixes the version field in the lib.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libssh/0001-libssh.h-bump-to-version-0.9.4.patch [new file with mode: 0644]

diff --git a/package/libssh/0001-libssh.h-bump-to-version-0.9.4.patch b/package/libssh/0001-libssh.h-bump-to-version-0.9.4.patch
new file mode 100644 (file)
index 0000000..d6ec505
--- /dev/null
@@ -0,0 +1,29 @@
+From 8d8428cbbc2c00d078cfbc967e4e6fee7ff7bf0b Mon Sep 17 00:00:00 2001
+From: Heiko Thiery <heiko.thiery@gmail.com>
+Date: Wed, 15 Apr 2020 11:57:29 +0200
+Subject: [PATCH] libssh.h: bump to version 0.9.4
+
+In the released version of libssh the version bump was not done
+properly. Therefore the current release 0.9.4 reports 0.9.3.
+
+Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
+---
+ include/libssh/libssh.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
+index 79030131..e2a8d991 100644
+--- a/include/libssh/libssh.h
++++ b/include/libssh/libssh.h
+@@ -79,7 +79,7 @@
+ /* libssh version */
+ #define LIBSSH_VERSION_MAJOR  0
+ #define LIBSSH_VERSION_MINOR  9
+-#define LIBSSH_VERSION_MICRO  3
++#define LIBSSH_VERSION_MICRO  4
+ #define LIBSSH_VERSION_INT SSH_VERSION_INT(LIBSSH_VERSION_MAJOR, \
+                                            LIBSSH_VERSION_MINOR, \
+-- 
+2.20.1
+