Diff perl-5.36.0-r2 with a perl-5.36.1-r3

/usr/portage/dev-lang/perl/perl-5.36.1-r3.ebuild 2023-10-09 14:52:29.468368350 +0300
6 6
inherit alternatives flag-o-matic toolchain-funcs multilib multiprocessing
7 7

  
8 8
PATCH_VER=1
9
CROSS_VER=1.4
9
CROSS_VER=1.4.1
10 10
PATCH_BASE="perl-5.36.0-patches-${PATCH_VER}"
11 11
PATCH_DEV=dilfridge
12 12

  
......
53 53
SLOT="0/${SUBSLOT}"
54 54

  
55 55
if [[ "${PV##*.}" != "9999" ]] && [[ "${PV/rc//}" == "${PV}" ]] ; then
56
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
56
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
57 57
fi
58 58

  
59 59
IUSE="berkdb debug doc gdbm ithreads minimal quadmath"
......
69 69
BDEPEND="${RDEPEND}"
70 70

  
71 71
PDEPEND="
72
	>=app-admin/perl-cleaner-2.30
72 73
	!minimal? (
73
		>=app-admin/perl-cleaner-2.5
74 74
		>=virtual/perl-CPAN-2.290.0
75 75
		>=virtual/perl-Encode-3.120.0
76 76
		>=virtual/perl-File-Temp-0.230.400-r2
......
92 92
	src_remove_dual      perl-core/ExtUtils-ParseXS   3.450.0       xsubpp
93 93
	src_remove_dual      perl-core/IO-Compress        2.106.0       zipdetails
94 94
	src_remove_dual      perl-core/JSON-PP            4.70.0        json_pp
95
	src_remove_dual      perl-core/Module-CoreList    5.202.205.200 corelist
95
	src_remove_dual      perl-core/Module-CoreList    5.202.304.230 corelist
96 96
	src_remove_dual      perl-core/Pod-Checker        1.740.0       podchecker
97 97
	src_remove_dual      perl-core/Pod-Perldoc        3.280.100     perldoc
98 98
	src_remove_dual      perl-core/Pod-Usage          2.10.0       pod2usage
......
391 391
	# add_patch "${FILESDIR}/${PN}-5.26.2-hppa.patch" "100-5.26.2-hppa.patch"\
392 392
	#		"Fix broken miniperl on hppa"\
393 393
	#		"https://bugs.debian.org/869122" "https://bugs.gentoo.org/634162"
394
	add_patch "${FILESDIR}/${PN}-5.36.0-clang16.patch" "100-5.36.0-clang16.patch" \
395
			"Fix Clang 16 / modern C issues in configure" \
396
			"https://bugs.gentoo.org/879857" "https://github.com/Perl/perl5/issues/20715"
394

  
395
	add_patch "${FILESDIR}/${PN}-5.36.1-http-tiny.patch" "0111-5.36.1-http-tiny.patch"\
396
			"Enable certificate checking in HTTP::Tiny by default"\
397
			"https://bugs.gentoo.org/905296" "https://bugs.debian.org/954089"
397 398

  
398 399
	if [[ ${CHOST} == *-solaris* ]] ; then
399 400
		# do NOT mess with nsl, on Solaris this is always necessary,
......
532 533
	filter-flags "-malign-double"
533 534

  
534 535
	# Generic LTO broken since 5.28, triggers EUMM failures
535
	filter-flags "-flto"
536
	filter-lto
536 537

  
537 538
	use sparc && myconf -Ud_longdbl
538 539

  
......
582 583
	# modifying 'optimize' prevents cross configure script from appending required flags
583 584
	if tc-is-cross-compiler; then
584 585
		append-cflags "-fwrapv"
586

  
587
		# bug #913171
588
		export HOSTCFLAGS="${CFLAGS_FOR_BUILD} -D_GNU_SOURCE"
585 589
	fi
586 590

  
587 591
	# bug #877659, bug #821577
Thank you!