Lines 7-13
if [[ ${PV} = *9999* ]]; then
Link Here
|
7 |
GIT_ECLASS="git-r3" |
7 |
GIT_ECLASS="git-r3" |
8 |
fi |
8 |
fi |
9 |
|
9 |
|
10 |
inherit ${GIT_ECLASS} meson |
10 |
inherit ${GIT_ECLASS} meson flag-o-matic |
11 |
|
11 |
|
12 |
DESCRIPTION="Intel GPU userland tools" |
12 |
DESCRIPTION="Intel GPU userland tools" |
13 |
|
13 |
|
Lines 75-80
DEPEND="${RDEPEND}
Link Here
|
75 |
|
75 |
|
76 |
PATCHES=( "${FILESDIR}/${PV}-python-3.9.patch" ) |
76 |
PATCHES=( "${FILESDIR}/${PV}-python-3.9.patch" ) |
77 |
|
77 |
|
|
|
78 |
pkg_setup() { |
79 |
# Force lazy binding on hardened profiles to avoid SEGVs, see #788625 |
80 |
filter-ldflags -Wl,-z,now |
81 |
if ! is-ldflag -Wl,-z,lazy; then |
82 |
append-ldflags -Wl,-z,lazy |
83 |
fi |
84 |
} |
85 |
|
78 |
src_prepare() { |
86 |
src_prepare() { |
79 |
sed -e "s/find_program('rst2man-3'/find_program('rst2man.py', 'rst2man-3'/" -i man/meson.build |
87 |
sed -e "s/find_program('rst2man-3'/find_program('rst2man.py', 'rst2man-3'/" -i man/meson.build |
80 |
default_src_prepare |
88 |
default_src_prepare |