]> git.pld-linux.org Git - packages/lsh.git/commitdiff
- added extern patch (add missing externs to fix build with -fno-common, gcc 10+... master auto/th/lsh-2.1-11
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 6 Feb 2023 19:48:19 +0000 (20:48 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 6 Feb 2023 19:48:19 +0000 (20:48 +0100)
lsh-extern.patch [new file with mode: 0644]
lsh.spec

diff --git a/lsh-extern.patch b/lsh-extern.patch
new file mode 100644 (file)
index 0000000..adefbe8
--- /dev/null
@@ -0,0 +1,21 @@
+--- lsh-2.1/src/server_session.h.orig  2013-03-09 08:49:46.000000000 +0100
++++ lsh-2.1/src/server_session.h       2023-02-06 20:22:24.562983097 +0100
+@@ -59,6 +59,6 @@ pty_request_handler;
+ extern struct channel_request
+ window_change_request_handler;
+-struct channel_request x11_req_handler;
++extern struct channel_request x11_req_handler;
+ #endif /* LSH_SERVER_SESSION_H_INCLUDED */
+--- lsh-2.1/src/server_userauth.h.orig 2013-03-09 08:49:46.000000000 +0100
++++ lsh-2.1/src/server_userauth.h      2023-02-06 20:21:19.852604302 +0100
+@@ -105,7 +105,7 @@ struct userauth *
+ make_userauth_publickey(struct user_db *db,
+                       struct alist *verifiers);
+-struct userauth server_userauth_none_preauth;
++extern struct userauth server_userauth_none_preauth;
+ struct userauth *
+ make_userauth_none_permit(struct lsh_user *user);
index dd553aca67e53c3b7d884b377e1fc3378b1b67ab..8422779f15efe207bc515fc88467a6dce12cc90e 100644 (file)
--- a/lsh.spec
+++ b/lsh.spec
@@ -6,7 +6,7 @@ Summary:        GNU implementation of the Secure Shell protocols
 Summary(pl.UTF-8):     Implementacja GNU bezpiecznego shella
 Name:          lsh
 Version:       2.1
-Release:       10
+Release:       11
 License:       GPL v2+
 Group:         Networking/Daemons
 Source0:       http://www.lysator.liu.se/~nisse/archive/%{name}-%{version}.tar.gz
@@ -18,6 +18,7 @@ Patch1:               skip-argp.patch
 Patch2:                nettle3.patch
 Patch3:                nettle35.patch
 Patch4:                guile.patch
+Patch5:                %{name}-extern.patch
 URL:           http://www.lysator.liu.se/~nisse/lsh/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
@@ -65,6 +66,7 @@ należy zainstalować odpowiedniego demona (openssh-server lub SSH.COM
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 cd src/spki
This page took 0.135621 seconds and 4 git commands to generate.