--- /dev/null
+--- lsh-2.1/src/scm/guile-compat.scm~ 2013-03-09 16:20:21.000000000 +0800
++++ lsh-2.1/src/scm/guile-compat.scm 2019-06-30 22:53:31.886255706 +0800
+@@ -20,5 +20,4 @@
+ ;; along with this program; if not, write to the Free Software
+ ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+-(use-syntax (ice-9 syncase))
+ (use-modules (ice-9 rdelim))
Summary(pl.UTF-8): Implementacja GNU bezpiecznego shella
Name: lsh
Version: 2.1
-Release: 5
+Release: 6
License: GPL v2+
Group: Networking/Daemons
Source0: http://www.lysator.liu.se/~nisse/archive/%{name}-%{version}.tar.gz
Patch0: %{name}-info.patch
Patch1: skip-argp.patch
Patch2: nettle3.patch
+Patch3: nettle35.patch
+Patch4: guile.patch
URL: http://www.lysator.liu.se/~nisse/lsh/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
+%patch4 -p1
%build
cd src/spki
--- /dev/null
+--- lsh-2.1/src/dummy.c.orig 2019-06-30 22:45:07.000000000 +0800
++++ lsh-2.1/src/dummy.c 2019-06-30 22:49:29.383304776 +0800
+@@ -113,14 +113,14 @@
+
+ size_t
+ base64_encode_update(struct base64_encode_ctx *ctx UNUSED,
+- uint8_t *dst UNUSED,
++ char *dst UNUSED,
+ size_t length UNUSED,
+ const uint8_t *src UNUSED)
+ { abort(); }
+
+ size_t
+ base64_encode_final(struct base64_encode_ctx *ctx UNUSED,
+- uint8_t *dst UNUSED)
++ char *dst UNUSED)
+ { abort(); }
+
+ void
+@@ -132,7 +132,7 @@
+ size_t *dst_length UNUSED,
+ uint8_t *dst UNUSED,
+ size_t src_length UNUSED,
+- const uint8_t *src UNUSED)
++ const char *src UNUSED)
+ { abort(); }
+
+ int