summaryrefslogtreecommitdiff
path: root/net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch')
-rw-r--r--net-irc/irssi/files/irssi-1.4.4-fix-usage-of-type-in-ExtUtils.patch43
1 files changed, 43 insertions, 0 deletions
diff --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\");
+