From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi/files/, net-irc/irssi/
Date: Thu, 6 Jul 2023 21:00:08 +0000 (UTC) [thread overview]
Message-ID: <1688677198.ff77eb3bccbb3e458eb5ecfd5ffec7903acd27a3.sam@gentoo> (raw)
commit: ff77eb3bccbb3e458eb5ecfd5ffec7903acd27a3
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Thu Jul 6 16:19:37 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 6 20:59:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff77eb3b
net-irc/irssi: Fix usage of $type in ExtUtils::ParseXS 3.50
With recent dev-lang/perl upgrade, some of the scripts are failing to
load. This patch taken from upstream should fix that.
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31781
Signed-off-by: Sam James <sam <AT> gentoo.org>
| 43 ++++++++++++++++++++++
| 4 ++
| 4 ++
3 files changed, 51 insertions(+)
--git a/net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch b/net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch
new file mode 100644
index 000000000000..517618e15098
--- /dev/null
+++ b/net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch
@@ -0,0 +1,43 @@
+https://patch-diff.githubusercontent.com/raw/irssi/irssi/pull/1474.patch
+From: Ailin Nemui <ailin@d5421s.localdomain>
+Date: Tue, 4 Jul 2023 10:27:09 +0200
+Subject: [PATCH] fix usage of $type in ExtUtils::ParseXS 3.50
+
+--- a/src/perl/common/typemap
++++ b/src/perl/common/typemap
+@@ -28,5 +28,5 @@ T_IrssiObj
+ $arg = iobject_bless((SERVER_REC *)$var);
+
+ T_PlainObj
+- $arg = plain_bless($var, \"$type\");
++ $arg = plain_bless($var, \"$ntype\");
+
+--- a/src/perl/irc/typemap
++++ b/src/perl/irc/typemap
+@@ -36,5 +36,5 @@ T_DccObj
+ $arg = simple_iobject_bless((DCC_REC *)$var);
+
+ T_PlainObj
+- $arg = plain_bless($var, \"$type\");
++ $arg = plain_bless($var, \"$ntype\");
+
+--- a/src/perl/textui/typemap
++++ b/src/perl/textui/typemap
+@@ -18,7 +18,7 @@ T_BufferLineWrapper
+ OUTPUT
+
+ T_PlainObj
+- $arg = plain_bless($var, \"$type\");
++ $arg = plain_bless($var, \"$ntype\");
+
+ T_BufferLineWrapper
+ $arg = perl_buffer_line_bless($var);
+--- a/src/perl/ui/typemap
++++ b/src/perl/ui/typemap
+@@ -13,5 +13,5 @@ T_PlainObj
+ OUTPUT
+
+ T_PlainObj
+- $arg = plain_bless($var, \"$type\");
++ $arg = plain_bless($var, \"$ntype\");
+
--git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-1.4.4-r1.ebuild
similarity index 95%
copy from net-irc/irssi/irssi-9999.ebuild
copy to net-irc/irssi/irssi-1.4.4-r1.ebuild
index 40772b5198b3..0a53a51c01ca 100644
--- a/net-irc/irssi/irssi-9999.ebuild
+++ b/net-irc/irssi/irssi-1.4.4-r1.ebuild
@@ -39,6 +39,10 @@ BDEPEND="dev-lang/perl
virtual/pkgconfig"
RDEPEND+=" selinux? ( sec-policy/selinux-irc )"
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-usage-of-type-in-ExtUtils.patch
+)
+
src_configure() {
local emesonargs=(
-Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
--git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-9999.ebuild
index 40772b5198b3..c5cc0db2269a 100644
--- a/net-irc/irssi/irssi-9999.ebuild
+++ b/net-irc/irssi/irssi-9999.ebuild
@@ -39,6 +39,10 @@ BDEPEND="dev-lang/perl
virtual/pkgconfig"
RDEPEND+=" selinux? ( sec-policy/selinux-irc )"
+PATCHES=(
+ "${FILESDIR}/${PN}-fix-usage-of-\$type-in-ExtUtils.patch"
+)
+
src_configure() {
local emesonargs=(
-Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
next reply other threads:[~2023-07-06 21:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-06 21:00 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-08 21:56 [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi/files/, net-irc/irssi/ Sven Wegener
2019-07-25 17:47 Mikle Kolyada
2017-10-19 16:27 Patrice Clement
2016-09-26 14:42 William Hubbs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1688677198.ff77eb3bccbb3e458eb5ecfd5ffec7903acd27a3.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox