pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/irssi irssi: fix building on Solaris 10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a4972d3174a
branches:  trunk
changeset: 372127:4a4972d3174a
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jan 19 22:15:43 2022 +0000

description:
irssi: fix building on Solaris 10

PR pkg/56632

diffstat:

 chat/irssi/Makefile                    |   4 ++--
 chat/irssi/distinfo                    |   3 ++-
 chat/irssi/patches/patch-src_otr_otr.c |  17 +++++++++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 481292e00e60 -r 4a4972d3174a chat/irssi/Makefile
--- a/chat/irssi/Makefile       Wed Jan 19 22:10:16 2022 +0000
+++ b/chat/irssi/Makefile       Wed Jan 19 22:15:43 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.103 2021/12/08 16:03:28 adam Exp $
+# $NetBSD: Makefile,v 1.104 2022/01/19 22:15:43 nia Exp $
 
 DISTNAME=              ${IRSSI_DISTNAME}
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            chat
 EXTRACT_SUFX=          ${IRSSI_EXTRACT_SUFX}
 
diff -r 481292e00e60 -r 4a4972d3174a chat/irssi/distinfo
--- a/chat/irssi/distinfo       Wed Jan 19 22:10:16 2022 +0000
+++ b/chat/irssi/distinfo       Wed Jan 19 22:15:43 2022 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.56 2021/10/26 10:05:16 nia Exp $
+$NetBSD: distinfo,v 1.57 2022/01/19 22:15:43 nia Exp $
 
 BLAKE2s (irssi-1.2.3.tar.gz) = 7ac7c6a1e29a75c19faf86dc80ccbf54a2cbc5f93beef251874a39fd51135766
 SHA512 (irssi-1.2.3.tar.gz) = 7e4c8dc2d8e3532f26775702254339ba92e276c82b5a7041756574096928e25f2614d04a1cfa091ba90bc3e5a0d552578b80bc89c3c87c6d48722139c2ae47ff
 Size (irssi-1.2.3.tar.gz) = 1824077 bytes
 SHA1 (patch-ad) = 8cb41612afcd6088b869235166da9a6eb37e6ec7
 SHA1 (patch-src_fe-text_terminfo-core.c) = 4f0af35b0288db4615e147211ca6e47b2383669d
+SHA1 (patch-src_otr_otr.c) = f9edabefd97e92f7a4c3db69741b35afdb825f8d
diff -r 481292e00e60 -r 4a4972d3174a chat/irssi/patches/patch-src_otr_otr.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/irssi/patches/patch-src_otr_otr.c    Wed Jan 19 22:15:43 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_otr_otr.c,v 1.1 2022/01/19 22:15:43 nia Exp $
+
+Fix building on Solaris 10
+Upstream commit: 58c9aecf86425630f043f554f0d11b625ed88be0
+PR pkg/56632
+
+--- src/otr/otr.c.orig 2021-04-08 13:42:24.000000000 +0000
++++ src/otr/otr.c
+@@ -643,7 +643,7 @@ static enum otr_msg_status enqueue_otr_f
+                * Dup the string with enough space for the NULL byte since we are
+                * about to free it before passing it to the caller.
+                */
+-              *full_msg = strndup(opc->full_msg, opc->msg_len + 1);
++              *full_msg = g_strndup(opc->full_msg, opc->msg_len + 1);
+               /* Reset everything. */
+               free(opc->full_msg);
+               opc->full_msg = NULL;



Home | Main Index | Thread Index | Old Index