pkgsrc-Users archive

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

converters/p5-Unicode-Map8 build error



Just encountered this...

Map8.xs: In function 'XS_Unicode__Map8_recode8':
Map8.xs:358:13: error: implicit declaration of function 'map8_recode8'; did you mean 'map8_recode_8'? [-Wimplicit-function-declaration]
  358 |             map8_recode8(m1, m2, str, res, len, &rlen);
      |             ^~~~~~~~~~~~
      |             map8_recode_8
*** Error code 1

==========================================
$NetBSD$

--- map8.h.orig	2026-11-04 03:49:38.416901570 +0000
+++ map8.h
@@ -80,7 +80,7 @@ U8*   map8_to_str8 (Map8*, U16*, U8*, int, int*);

 U16*  map8_to_str16(Map8*, U8*, U16*, int, int*);
 U8*   map8_to_str8 (Map8*, U16*, U8*, int, int*);
-U8*   map8_recode_8(Map8*, Map8*, U8*, U8*, int, int*);
+U8*   map8_recode8(Map8*, Map8*, U8*, U8*, int, STRLEN*);

 int   map8_empty_block(Map8*, U8);
==========================================
$NetBSD$

--- map8x.c.orig	2026-11-04 03:57:30.031398344 +0000
+++ map8x.c
@@ -307,7 +307,7 @@ U8* map8_to_str8(Map8* m, U16* str16, U8* str8, int le
 #endif  /* !PERL */


-U8* map8_recode8(Map8* m1, Map8* m2, U8* from, U8* to, int len, int* rlen)
+U8* map8_recode8(Map8* m1, Map8* m2, U8* from, U8* to, int len, STRLEN* rlen)
 {
   dTHX;
   U8* tmp;
$NetBSD$

--- map8.h.orig	2026-11-04 03:49:38.416901570 +0000
+++ map8.h
@@ -80,7 +80,7 @@ U8*   map8_to_str8 (Map8*, U16*, U8*, int, int*);
 
 U16*  map8_to_str16(Map8*, U8*, U16*, int, int*);
 U8*   map8_to_str8 (Map8*, U16*, U8*, int, int*);
-U8*   map8_recode_8(Map8*, Map8*, U8*, U8*, int, int*);
+U8*   map8_recode8(Map8*, Map8*, U8*, U8*, int, STRLEN*);
 
 int   map8_empty_block(Map8*, U8);
 
$NetBSD$

--- map8x.c.orig	2026-11-04 03:57:30.031398344 +0000
+++ map8x.c
@@ -307,7 +307,7 @@ U8* map8_to_str8(Map8* m, U16* str16, U8* str8, int le
 #endif  /* !PERL */
 
 
-U8* map8_recode8(Map8* m1, Map8* m2, U8* from, U8* to, int len, int* rlen)
+U8* map8_recode8(Map8* m1, Map8* m2, U8* from, U8* to, int len, STRLEN* rlen)
 {
   dTHX;
   U8* tmp;


Home | Main Index | Thread Index | Old Index