[packages/lsh] - added extern patch (add missing externs to fix build with -fno-common, gcc 10+ default); release 1

qboosh qboosh at pld-linux.org
Mon Feb 6 20:46:53 CET 2023


commit 7caec35174114e442f666213b5423d887ade7c81
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Feb 6 20:48:19 2023 +0100

    - added extern patch (add missing externs to fix build with -fno-common, gcc 10+ default); release 11

 lsh-extern.patch | 21 +++++++++++++++++++++
 lsh.spec         |  4 +++-
 2 files changed, 24 insertions(+), 1 deletion(-)
---
diff --git a/lsh.spec b/lsh.spec
index dd553ac..8422779 100644
--- 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
diff --git a/lsh-extern.patch b/lsh-extern.patch
new file mode 100644
index 0000000..adefbe8
--- /dev/null
+++ b/lsh-extern.patch
@@ -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);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lsh.git/commitdiff/7caec35174114e442f666213b5423d887ade7c81



More information about the pld-cvs-commit mailing list