app-misc/bb: unbreak m4 handling

Fix 'm4-stuff.patch' to restore m4/ directory.
Was broken by upgrade to EAPI=7. Instead of failing
patch dumped files into root directory instead of m4/.

Reported-by: Gabriele Pelissetto
Closes: https://bugs.gentoo.org/699826
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2019-11-13 22:01:57 +00:00
parent 33bbcbc97d
commit b80d8ef5ee
2 changed files with 4 additions and 3 deletions

View File

@@ -63,7 +63,8 @@ src_prepare() {
-i Makefile.am || die
mv -v configure.{in,ac} || die
eautoreconf
# m4/ dir is added with 'm4-stuff.patch' patch
AT_M4DIR="m4" eautoreconf
}
pkg_postinst() {

View File

@@ -7,7 +7,7 @@ Date: Tue Feb 7 10:59:09 2012 +0300
bb-1.3.0_rc1: bundle m4 source
--- /dev/null
+++ m4/aalib.m4
+++ a/m4/aalib.m4
@@ -0,0 +1,169 @@
+# Configure paths for AALIB
+# Jan Hubicka 4/22/2001
@@ -179,7 +179,7 @@ Date: Tue Feb 7 10:59:09 2012 +0300
+ rm -f conf.aalibtest
+])
--- /dev/null
+++ m4/libmikmod.m4
+++ a/m4/libmikmod.m4
@@ -0,0 +1,207 @@
+# Configure paths for libmikmod
+#