aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Thrift-XS/files/patch-xs
blob: 350f5c6275d169bdfd52bcdb0fc1c9255382bc69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
fix Unparseable XSUB parameter: 'SV * /*name*/' in ...

--- BinaryProtocol.xs.orig	2025-07-13 08:46:14 UTC
+++ BinaryProtocol.xs
@@ -129,7 +129,7 @@ int
   RETVAL
 
 int
-writeFieldBegin(TBinaryProtocol *p, SV * /*name*/, int type, int id)
+writeFieldBegin(TBinaryProtocol *p, SV * _unused, int type, int id)
 CODE:
 {
   DEBUG_TRACE("writeFieldBegin(type %d, id %d)\n", type, id);
@@ -487,7 +487,7 @@ int
   RETVAL
 
 int
-readFieldBegin(TBinaryProtocol *p, SV * /*name*/, SV *fieldtype, SV *fieldid)
+readFieldBegin(TBinaryProtocol *p, SV * _unused, SV *fieldtype, SV *fieldid)
 CODE:
 {
   DEBUG_TRACE("readFieldBegin()\n");
--- CompactProtocol.xs.orig	2025-07-13 08:46:25 UTC
+++ CompactProtocol.xs
@@ -97,7 +97,7 @@ void
 }
 
 void
-writeFieldBegin(TBinaryProtocol *p, SV * /*name*/, int type, int id)
+writeFieldBegin(TBinaryProtocol *p, SV * _unused, int type, int id)
 CODE:
 {
   DEBUG_TRACE("writeFieldBegin()\n");
@@ -362,7 +362,7 @@ void
 }
 
 void
-readFieldBegin(TBinaryProtocol *p, SV * /*name*/, SV *fieldtype, SV *fieldid)
+readFieldBegin(TBinaryProtocol *p, SV * _unused, SV *fieldtype, SV *fieldid)
 CODE:
 {
   DEBUG_TRACE("readFieldBegin()\n");