Diff syslinux-6.04_pre1-r5 with a syslinux-6.04_pre3-r1

/usr/portage/sys-boot/syslinux/syslinux-6.04_pre3-r1.ebuild 2023-10-09 14:52:35.452368500 +0300
8 8
DESCRIPTION="SYSLINUX, PXELINUX, ISOLINUX, EXTLINUX and MEMDISK bootloaders"
9 9
HOMEPAGE="https://www.syslinux.org/"
10 10
MY_P=${P/_/-}
11
SRC_URI="https://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/6.04/${MY_P}.tar.xz"
11
SRC_URI="https://git.zytor.com/syslinux/syslinux.git/snapshot/${MY_P}.tar.gz"
12 12

  
13 13
LICENSE="GPL-2"
14 14
SLOT="0"
15
KEYWORDS="-* amd64 x86"
15
#KEYWORDS="-* ~amd64 ~x86"
16 16
IUSE="abi_x86_32 abi_x86_64 +bios +efi"
17 17
REQUIRED_USE="|| ( bios efi )
18 18
	efi? ( || ( abi_x86_32 abi_x86_64 ) )"
19 19

  
20
RESTRICT="test"
21

  
20 22
BDEPEND="
21 23
	dev-lang/perl
22 24
	bios? ( dev-lang/nasm )
......
28 30
	dev-perl/Digest-SHA1
29 31
"
30 32
DEPEND="${RDEPEND}
33
	efi? ( sys-boot/gnu-efi[abi_x86_32(-)?,abi_x86_64(-)?] )
31 34
	virtual/os-headers
32 35
"
33 36

  
......
44 47

  
45 48
src_prepare() {
46 49
	local PATCHES=(
47
		"${FILESDIR}/syslinux-6.03-sysmacros.patch"
48
		"${FILESDIR}/${PV}"
50
		"${FILESDIR}/6.04_pre1"
51
		"${FILESDIR}/6.04_pre3"
49 52
		"${FILESDIR}/syslinux-6.04-binutils-2.41.patch"
50 53
	)
51 54
	default
52 55
}
56

  
57
efimake() {
58
	local ABI="${1}"
59
	local libdir="$(get_libdir)"
60
	shift
61
	local args=(
62
		EFIINC="${ESYSROOT}/usr/include/efi"
63
		LIBDIR="${ESYSROOT}/usr/${libdir}"
64
		LIBEFI="${ESYSROOT}/usr/${libdir}/libefi.a"
65
		"${@}"
66
	)
67
	emake "${args[@]}"
68
}
69

  
53 70
src_compile() {
54 71
	filter-lto #863722
55 72

  
......
64 81
	fi
65 82
	if use efi; then
66 83
		if use abi_x86_32; then
67
			emake efi32 DATE="${DATE}" HEXDATE="${HEXDATE}"
84
			efimake x86 efi32 DATE="${DATE}" HEXDATE="${HEXDATE}"
68 85
		fi
69 86
		if use abi_x86_64; then
70
			emake efi64 DATE="${DATE}" HEXDATE="${HEXDATE}"
87
			efimake amd64 efi64 DATE="${DATE}" HEXDATE="${HEXDATE}"
71 88
		fi
72 89
	fi
73 90
}
Thank you!