Diff Sereal-Encoder-4.23.0-r1 with a Sereal-Encoder-5.4.0

/usr/portage/dev-perl/Sereal-Encoder/Sereal-Encoder-5.4.0.ebuild 2023-10-09 14:52:29.920368361 +0300
4 4
EAPI=8
5 5

  
6 6
DIST_AUTHOR=YVES
7
DIST_VERSION=4.023
7
DIST_VERSION=5.004
8 8
inherit edo perl-module toolchain-funcs
9 9

  
10 10
DESCRIPTION="Fast, compact, powerful binary serialization"
11 11
SLOT="0"
12 12
KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86"
13 13

  
14
# Note: bundled zstd fails compile
14
# Note: bundled zstd fails to compile
15 15
RDEPEND="
16 16
	virtual/perl-XSLoader
17 17
	app-arch/csnappy:=
......
23 23
	app-arch/zstd:=
24 24
	>=dev-libs/miniz-2.2.0-r1:=
25 25
"
26
# Tester note: ideally you want dev-perl/Sereal-Decoder
27
# as well, but we can't depend on it because it forms
28
# a tight cycle if we do
29 26
BDEPEND="${RDEPEND}
30
	dev-perl/Devel-CheckLib
27
	>=dev-perl/Devel-CheckLib-1.160.0
31 28
	>=virtual/perl-ExtUtils-MakeMaker-7.0.0
32 29
	>=virtual/perl-ExtUtils-ParseXS-2.210.0
33 30
	virtual/perl-File-Path
......
41 38
		dev-perl/Test-LongString
42 39
		>=virtual/perl-Test-Simple-0.880.0
43 40
		dev-perl/Test-Warn
41
		>=dev-perl/Sereal-Decoder-${PV}
44 42
	)
45 43
"
46 44

  
......
56 54
}
57 55

  
58 56
src_compile() {
57
	# UB
58
	export USE_UNALIGNED=no
59

  
59 60
	DIST_MAKE=(
60 61
		"INC=$($(tc-getPKG_CONFIG) --cflags miniz)"
61 62
		"OTHERLDFLAGS=$($(tc-getPKG_CONFIG) --libs miniz)"
Thank you!