diff options
author | nia <nia@pkgsrc.org> | 2022-01-19 22:15:43 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-01-19 22:15:43 +0000 |
commit | d814e2156b485979af968b70e6cff08fa2ca3ce5 (patch) | |
tree | e0748286ae8bba998ec3e5a3c6ab822b3146b110 /chat/irssi | |
parent | f7656aa28df155598b2746c14bb1850d6fc4e536 (diff) | |
download | pkgsrc-d814e2156b485979af968b70e6cff08fa2ca3ce5.tar.gz |
irssi: fix building on Solaris 10
PR pkg/56632
Diffstat (limited to 'chat/irssi')
-rw-r--r-- | chat/irssi/Makefile | 4 | ||||
-rw-r--r-- | chat/irssi/distinfo | 3 | ||||
-rw-r--r-- | chat/irssi/patches/patch-src_otr_otr.c | 17 |
3 files changed, 21 insertions, 3 deletions
diff --git a/chat/irssi/Makefile b/chat/irssi/Makefile index 608375d62d0..73b16d3011b 100644 --- a/chat/irssi/Makefile +++ b/chat/irssi/Makefile @@ -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 --git a/chat/irssi/distinfo b/chat/irssi/distinfo index 4eb773e322e..60bdaa85c59 100644 --- a/chat/irssi/distinfo +++ b/chat/irssi/distinfo @@ -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 --git a/chat/irssi/patches/patch-src_otr_otr.c b/chat/irssi/patches/patch-src_otr_otr.c new file mode 100644 index 00000000000..0e126181a1d --- /dev/null +++ b/chat/irssi/patches/patch-src_otr_otr.c @@ -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; |