pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/lhs lhs: fix build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd5feb84539a
branches:  trunk
changeset: 450272:cd5feb84539a
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Apr 13 10:26:57 2021 +0000

description:
lhs: fix build.

diffstat:

 www/lhs/Makefile         |   5 ++++-
 www/lhs/distinfo         |   4 ++--
 www/lhs/patches/patch-ac |  19 ++++++++++++++++++-
 3 files changed, 24 insertions(+), 4 deletions(-)

diffs (68 lines):

diff -r f20019fe49ee -r cd5feb84539a www/lhs/Makefile
--- a/www/lhs/Makefile  Tue Apr 13 10:19:24 2021 +0000
+++ b/www/lhs/Makefile  Tue Apr 13 10:26:57 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/01/18 21:51:07 jperkin Exp $
+# $NetBSD: Makefile,v 1.24 2021/04/13 10:26:57 nia Exp $
 #
 
 DISTNAME=      lhs-0.1
@@ -20,6 +20,9 @@
 
 LIBS.SunOS+=   -lsocket
 
+# overrides definition of read
+FORTIFY_SUPPORTED=     no
+
 INSTALLATION_DIRS=     sbin
 
 do-install:
diff -r f20019fe49ee -r cd5feb84539a www/lhs/distinfo
--- a/www/lhs/distinfo  Tue Apr 13 10:19:24 2021 +0000
+++ b/www/lhs/distinfo  Tue Apr 13 10:26:57 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2020/01/12 23:01:38 joerg Exp $
+$NetBSD: distinfo,v 1.7 2021/04/13 10:26:57 nia Exp $
 
 SHA1 (lhs-0.1.tar.gz) = 74fbb0a982cd00c668c9f07b7c3c583759f14fd6
 RMD160 (lhs-0.1.tar.gz) = 176d8149d11383fc4d82e4a13991f156f3ab42ca
@@ -6,5 +6,5 @@
 Size (lhs-0.1.tar.gz) = 10665 bytes
 SHA1 (patch-aa) = 682df4329c32b01438221ba78055761468ede8fa
 SHA1 (patch-ab) = a066f92aa5f47e85863b23e92247c2fad8f3c5bf
-SHA1 (patch-ac) = 1ed366392bd2f189d7c3091c23b681712dbbc611
+SHA1 (patch-ac) = 2b41fc262e497d97669dbd849df89811b6392a7b
 SHA1 (patch-configure) = 21e675f56bd36f6bb880cb0179db952fa18a25a3
diff -r f20019fe49ee -r cd5feb84539a www/lhs/patches/patch-ac
--- a/www/lhs/patches/patch-ac  Tue Apr 13 10:19:24 2021 +0000
+++ b/www/lhs/patches/patch-ac  Tue Apr 13 10:26:57 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.4 2020/01/12 23:01:38 joerg Exp $
+$NetBSD: patch-ac,v 1.5 2021/04/13 10:26:57 nia Exp $
 
 * Include sys/filio.h for FIONBIO etc.
 * Drop SSLv2 support
@@ -51,6 +51,23 @@
                default:
                        debug("nieznany standard szyfrowania\n");
        }
+@@ -536,14 +537,14 @@ SSL *init_ssl_socket(int sock)
+       return ssl;
+ }
+ 
+-inline int my_read(int fd, char *buf, int size, void *ssl)
++int my_read(int fd, char *buf, int size, void *ssl)
+ {
+       return (!ssl) ?
+               read(fd, buf, size) :
+               SSL_read((SSL*) ssl, buf, size);
+ }
+ 
+-inline int my_write(int fd, char *buf, int size, void *ssl)
++int my_write(int fd, char *buf, int size, void *ssl)
+ {
+       int res, one;
+       
 @@ -592,7 +593,7 @@ void usage(char *a0)
  "  -s version   set SSL protocol version (default: SSLv2)\n"
  "  -c filename  load certificate file (default: lhs.pem)\n"



Home | Main Index | Thread Index | Old Index