Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit a1ef3ef

Browse files
committed
Unicode-Collate: Update to 1.25_01
Skip redefinition warnings on cperl since 5.27.2
1 parent f73c6ab commit a1ef3ef

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

cpan/Unicode-Collate/Collate.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ use File::Spec;
1717

1818
no warnings 'utf8';
1919

20-
our $VERSION = '1.25';
20+
our $VERSION = '1.25_01';
21+
our $XS_VERSION = eval $VERSION;
2122
our $PACKAGE = __PACKAGE__;
2223

2324
### begin XS only ###
2425
use XSLoader ();
25-
XSLoader::load('Unicode::Collate', $VERSION);
26+
XSLoader::load('Unicode::Collate', $XS_VERSION);
2627
### end XS only ###
2728

2829
my @Path = qw(Unicode Collate);

cpan/Unicode-Collate/Collate.xs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,24 @@
2525

2626
#define VCE_Length (9)
2727

28+
#ifndef Hangul_SBase
2829
#define Hangul_SBase (0xAC00)
29-
#define Hangul_SIni (0xAC00)
30-
#define Hangul_SFin (0xD7A3)
3130
#define Hangul_NCount (588)
3231
#define Hangul_TCount (28)
3332
#define Hangul_LBase (0x1100)
33+
#define Hangul_VBase (0x1161)
34+
#define Hangul_TBase (0x11A7) /* from "no-final" codepoint */
35+
#endif
36+
37+
#define Hangul_SIni (0xAC00)
38+
#define Hangul_SFin (0xD7A3)
3439
#define Hangul_LIni (0x1100)
3540
#define Hangul_LFin (0x1159)
3641
#define Hangul_LFill (0x115F)
3742
#define Hangul_LEnd (0x115F) /* Unicode 5.2 */
38-
#define Hangul_VBase (0x1161)
3943
#define Hangul_VIni (0x1160) /* from Vowel Filler */
4044
#define Hangul_VFin (0x11A2)
4145
#define Hangul_VEnd (0x11A7) /* Unicode 5.2 */
42-
#define Hangul_TBase (0x11A7) /* from "no-final" codepoint */
4346
#define Hangul_TIni (0x11A8)
4447
#define Hangul_TFin (0x11F9)
4548
#define Hangul_TEnd (0x11FF) /* Unicode 5.2 */

dist/Module-CoreList/lib/Module/CoreList.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16182,7 +16182,7 @@ our %delta = (
1618216182
'Thread::Queue' => '3.12',
1618316183
'Time::HiRes' => '1.9751',
1618416184
'Time::Piece' => '1.3203',
16185-
'Unicode::Collate' => '1.25',
16185+
'Unicode::Collate' => '1.25_01',
1618616186
'Unicode::Collate::CJK::Big5'=> '1.25',
1618716187
'Unicode::Collate::CJK::GB2312'=> '1.25',
1618816188
'Unicode::Collate::CJK::JISX0208'=> '1.25',

pod/perlcdelta.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Updated from 3.01, many critical fixes.
241241

242242
=item L<Time::Piece> 1.3203
243243

244-
=item L<Unicode::Collate> 1.25
244+
=item L<Unicode::Collate> 1.25_01
245245

246246
=item L<VMS::DCLsym> 1.09
247247

0 commit comments

Comments
 (0)