app-emulation/qemu: ensure directory is created
authorMatthias Maier <tamiko@gentoo.org>
Sun, 19 May 2019 21:57:57 +0000 (16:57 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Sun, 19 May 2019 23:42:11 +0000 (18:42 -0500)
Closes: https://bugs.gentoo.org/684902
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-emulation/qemu/files/qemu-4.0.0-mkdir_systemtap.patch [new file with mode: 0644]
app-emulation/qemu/qemu-4.0.0-r3.ebuild
app-emulation/qemu/qemu-9999.ebuild

diff --git a/app-emulation/qemu/files/qemu-4.0.0-mkdir_systemtap.patch b/app-emulation/qemu/files/qemu-4.0.0-mkdir_systemtap.patch
new file mode 100644 (file)
index 0000000..abfcbd1
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/Makefile b/Makefile
+index 04a0d450..e0013a59 100644
+--- a/Makefile
++++ b/Makefile
+@@ -760,6 +760,7 @@ ifneq ($(TOOLS),)
+       $(INSTALL_DATA) qemu-nbd.8 "$(DESTDIR)$(mandir)/man8"
+ endif
+ ifdef CONFIG_TRACE_SYSTEMTAP
++      mkdir -p $(DESTDIR)$(bindir)
+       $(INSTALL_DATA) scripts/qemu-trace-stap.1 "$(DESTDIR)$(mandir)/man1"
+ endif
+ ifneq (,$(findstring qemu-ga,$(TOOLS)))
index f513f3877479ac9bd1ba1eb17ae17d4ad28d1d39..86e2f9cee00688c57778537ab34f33702f78feba 100644 (file)
@@ -206,6 +206,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch
        "${FILESDIR}"/${P}-sanitize-interp_info.patch
        "${FILESDIR}"/${PN}-3.1.0-md-clear-md-no.patch
+       "${FILESDIR}"/${PN}-4.0.0-mkdir_systemtap.patch #684902
 )
 
 QA_PREBUILT="
index c67b7be03874c15d8a6644264409b25563048025..0eccee5d2fa02c4f99584afdd1dbc16ec6d47db0 100644 (file)
@@ -205,6 +205,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.5.0-cflags.patch
        "${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
        "${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch
+       "${FILESDIR}"/${PN}-4.0.0-mkdir_systemtap.patch #684902
 )
 
 QA_PREBUILT="