app-misc/bb: unbreak m4 handling
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 13 Nov 2019 22:01:57 +0000 (22:01 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 13 Nov 2019 22:02:06 +0000 (22:02 +0000)
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>
app-misc/bb/bb-1.3.0_rc1-r5.ebuild
app-misc/bb/files/bb-1.3.0_rc1-m4-stuff.patch

index 793a64d7de56f4365cf4914bef3559b76be6a342..23d546b2831a21b704c21765eaf9a4642fd35f9a 100644 (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() {
index 843d839908f7e98ca4911f6f0155480f78afe574..12d9276aeb638e6d883ab81e77c96a1d795cd0b6 100644 (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
 +#