unbreak build on llvm 22

This commit is contained in:
daniel
2026-05-31 00:05:14 +00:00
parent 6eb0ae28cd
commit eca8480864
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ COMMENT= bidirectional Hebrew support
MODULES= cpan
DISTNAME= Locale-Hebrew-1.05
CATEGORIES= devel
REVISION= 0
REVISION= 1
# perl
PERMIT_PACKAGE= Yes
@@ -0,0 +1,14 @@
Fix build with llvm 22.
Index: Hebrew.xs
--- Hebrew.xs.orig
+++ Hebrew.xs
@@ -17,7 +17,7 @@ SV *
_hebrewflip(s)
SV * s
CODE:
- int l;
+ STRLEN l;
char *src, *dst;
SV *r;