diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-29 16:03:22 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-29 16:04:35 +0200 |
commit | d830027af9804bfd752cbf95e85bfaccda556fc2 (patch) | |
tree | 691dc3d122a93b73552a7b42c25b73bd45a2fa02 /sys-apps/man-db | |
parent | gnome-base/gnome-shell: Stabilize 3.34.5-r1 amd64, #736802 (diff) | |
download | gentoo-d830027af9804bfd752cbf95e85bfaccda556fc2.tar.gz gentoo-d830027af9804bfd752cbf95e85bfaccda556fc2.tar.bz2 gentoo-d830027af9804bfd752cbf95e85bfaccda556fc2.zip |
sys-apps/man-db: skip man-deleted-directory test under sandbox
Closes: https://bugs.gentoo.org/699466
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-apps/man-db')
-rw-r--r-- | sys-apps/man-db/files/man-db-2.9.3-sandbox-env-tests.patch | 11 | ||||
-rw-r--r-- | sys-apps/man-db/man-db-2.9.3.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/man-db/man-db-9999.ebuild | 2 |
3 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/man-db/files/man-db-2.9.3-sandbox-env-tests.patch b/sys-apps/man-db/files/man-db-2.9.3-sandbox-env-tests.patch new file mode 100644 index 000000000000..8b2ad26d0e6e --- /dev/null +++ b/sys-apps/man-db/files/man-db-2.9.3-sandbox-env-tests.patch @@ -0,0 +1,11 @@ +--- a/src/tests/man-deleted-directory ++++ b/src/tests/man-deleted-directory +@@ -8,6 +8,8 @@ + + : ${MAN=man} + ++test -n "$SANDBOX_ACTIVE" && skip "Gentoo: Test known bad under sandbox (#699466)" ++ + init + echo "MANDATORY_MANPATH $abstmpdir/usr/share/man" >"$tmpdir/manpath.config" + MANPATH="$abstmpdir/usr/share/man" diff --git a/sys-apps/man-db/man-db-2.9.3.ebuild b/sys-apps/man-db/man-db-2.9.3.ebuild index 45fd312f00a1..2b2c69c3b82d 100644 --- a/sys-apps/man-db/man-db-2.9.3.ebuild +++ b/sys-apps/man-db/man-db-2.9.3.ebuild @@ -46,6 +46,8 @@ RDEPEND=" " PDEPEND="manpager? ( app-text/manpager )" +PATCHES=( "${FILESDIR}"/${PN}-2.9.3-sandbox-env-tests.patch ) + pkg_setup() { if (use gdbm && use berkdb) || (use !gdbm && use !berkdb) ; then #496150 ewarn "Defaulting to USE=gdbm due to ambiguous berkdb/gdbm USE flag settings" diff --git a/sys-apps/man-db/man-db-9999.ebuild b/sys-apps/man-db/man-db-9999.ebuild index 8ad0f47c8564..25d02ea5f572 100644 --- a/sys-apps/man-db/man-db-9999.ebuild +++ b/sys-apps/man-db/man-db-9999.ebuild @@ -46,6 +46,8 @@ RDEPEND=" " PDEPEND="manpager? ( app-text/manpager )" +PATCHES=( "${FILESDIR}"/${PN}-2.9.3-sandbox-env-tests.patch ) + pkg_setup() { if (use gdbm && use berkdb) || (use !gdbm && use !berkdb) ; then #496150 ewarn "Defaulting to USE=gdbm due to ambiguous berkdb/gdbm USE flag settings" |