Diff systemd-utils-259.3 with a systemd-utils-259.4

/usr/portage/sys-apps/systemd-utils/systemd-utils-259.4.ebuild 2026-07-03 20:03:05.098731070 +0300
9 9
TMPFILES_OPTIONAL=1
10 10
UDEV_OPTIONAL=1
11 11

  
12
inherit linux-info meson-multilib
13
inherit python-single-r1 secureboot shell-completion udev
12
inherit flag-o-matic linux-info meson-multilib
13
inherit python-single-r1 secureboot shell-completion toolchain-funcs udev
14 14

  
15 15
DESCRIPTION="Utilities split out from systemd for OpenRC users"
16 16
HOMEPAGE="https://systemd.io/"
......
21 21

  
22 22
LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
23 23
SLOT="0"
24
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
24
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86"
25 25
IUSE="+acl boot +kmod kernel-install selinux split-usr sysusers +tmpfiles test +udev ukify"
26 26
REQUIRED_USE="
27 27
	|| ( kernel-install tmpfiles sysusers udev )
......
107 107
CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED
108 108
	~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET ~UNIX"
109 109

  
110
PATCHES=(
111
	"${FILESDIR}/systemd-260-mips.patch"
112
)
113

  
110 114
pkg_setup() {
111 115
	if [[ ${MERGE_TYPE} != buildonly ]] && use udev; then
112 116
		linux-info_pkg_setup
......
116 120

  
117 121
src_configure() {
118 122
	python_setup
123

  
124
	# Our toolchain sets F_S=2 by default w/ >= -O2, so we need
125
	# to unset F_S first, then explicitly set 2, to negate any default
126
	# and anything set by the user if they're choosing 3 (or if they've
127
	# modified GCC to set 3).
128
	#
129
	# malloc_usable_size doesn't play well with _F_S=3:
130
	#  https://github.com/systemd/systemd/issues/41459 (bug #971773)
131
	if tc-is-clang && tc-enables-fortify-source ; then
132
		# We can't unconditionally do this b/c we fortify needs
133
		# some level of optimisation.
134
		filter-flags -D_FORTIFY_SOURCE=3
135
		append-cppflags -U_FORTIFY_SOURCE -D_GENTOO_NO_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
136
	fi
137

  
119 138
	meson-multilib_src_configure
120 139
}
121 140

  
......
185 204
		-Dvconsole=false
186 205
		-Dwheel-group=false
187 206
		-Dxdg-autostart=false
188
		-Dxenctrl=false
189 207

  
190 208
		-Dbashcompletiondir=no
191 209
		-Ddbus-interfaces-dir=no
......
388 406
		add_service systemd-tmpfiles-setup boot
389 407
	fi
390 408
	if use udev; then
391
		ebegin "Updating hwdb"
392
		systemd-hwdb --root="${ROOT}" update
393
		eend $?
409
		udev_hwdb_update
394 410
		udev_reload
395 411
	fi
396 412
}
Thank you!