commit: 99201b14faf305a88326bbb59343cc4e3b272d1c Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Sat Aug 27 08:04:49 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Aug 27 10:52:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99201b14
sci-geosciences/grass: don't call eautoreconf Upstream have their own header which autoheader conflicts with. Just use the dist tarball's build system files instead. Closes: https://bugs.gentoo.org/866554 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/27030 Signed-off-by: Sam James <sam <AT> gentoo.org> .../grass/{grass-7.8.7-r1.ebuild => grass-7.8.7-r2.ebuild} | 8 ++++++-- .../grass/{grass-8.0.2-r1.ebuild => grass-8.0.2-r2.ebuild} | 8 ++++++-- .../grass/{grass-8.2.0-r1.ebuild => grass-8.2.0-r2.ebuild} | 8 ++++++-- sci-geosciences/grass/grass-9999.ebuild | 8 ++++++-- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/sci-geosciences/grass/grass-7.8.7-r1.ebuild b/sci-geosciences/grass/grass-7.8.7-r2.ebuild similarity index 96% rename from sci-geosciences/grass/grass-7.8.7-r1.ebuild rename to sci-geosciences/grass/grass-7.8.7-r2.ebuild index d254c88caf17..2055352416fa 100644 --- a/sci-geosciences/grass/grass-7.8.7-r1.ebuild +++ b/sci-geosciences/grass/grass-7.8.7-r2.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="sqlite" # bug 572440 WX_GTK_VER="3.0-gtk3" -inherit autotools desktop python-single-r1 toolchain-funcs wxwidgets xdg +inherit desktop python-single-r1 toolchain-funcs wxwidgets xdg MY_PM=${PN}$(ver_cut 1-2 ${PV}) MY_PM=${MY_PM/.} @@ -116,7 +116,11 @@ src_prepare() { sed -e "s:= python3:= ${EPYTHON}:" -i "${S}/include/Make/Platform.make.in" || die default - eautoreconf + + # When patching the build system, avoid running autoheader here. The file + # config.in.h is maintained manually upstream. Changes to it may lead to + # undefined behavior. See bug #866554. + # AT_NOEAUTOHEADER=1 eautoreconf ebegin "Fixing python shebangs" python_fix_shebang -q "${S}" diff --git a/sci-geosciences/grass/grass-8.0.2-r1.ebuild b/sci-geosciences/grass/grass-8.0.2-r2.ebuild similarity index 96% rename from sci-geosciences/grass/grass-8.0.2-r1.ebuild rename to sci-geosciences/grass/grass-8.0.2-r2.ebuild index 4bb9a92f3ba1..64fdec42f03c 100644 --- a/sci-geosciences/grass/grass-8.0.2-r1.ebuild +++ b/sci-geosciences/grass/grass-8.0.2-r2.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="sqlite" # bug 572440 WX_GTK_VER="3.0-gtk3" -inherit autotools desktop python-single-r1 toolchain-funcs wxwidgets xdg +inherit desktop python-single-r1 toolchain-funcs wxwidgets xdg DESCRIPTION="A free GIS with raster and vector functionality, as well as 3D vizualization" HOMEPAGE="https://grass.osgeo.org/" @@ -129,7 +129,11 @@ src_prepare() { sed -e "s:= python3:= ${EPYTHON}:" -i "${S}/include/Make/Platform.make.in" || die default - eautoreconf + + # When patching the build system, avoid running autoheader here. The file + # config.in.h is maintained manually upstream. Changes to it may lead to + # undefined behavior. See bug #866554. + # AT_NOEAUTOHEADER=1 eautoreconf ebegin "Fixing python shebangs" python_fix_shebang -q "${S}" diff --git a/sci-geosciences/grass/grass-8.2.0-r1.ebuild b/sci-geosciences/grass/grass-8.2.0-r2.ebuild similarity index 96% rename from sci-geosciences/grass/grass-8.2.0-r1.ebuild rename to sci-geosciences/grass/grass-8.2.0-r2.ebuild index 581cd7fa78cb..71dfdbf59d7f 100644 --- a/sci-geosciences/grass/grass-8.2.0-r1.ebuild +++ b/sci-geosciences/grass/grass-8.2.0-r2.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="sqlite" # bug 572440 WX_GTK_VER="3.0-gtk3" -inherit autotools desktop python-single-r1 toolchain-funcs wxwidgets xdg +inherit desktop python-single-r1 toolchain-funcs wxwidgets xdg DESCRIPTION="A free GIS with raster and vector functionality, as well as 3D vizualization" HOMEPAGE="https://grass.osgeo.org/" @@ -129,7 +129,11 @@ src_prepare() { sed -e "s:= python3:= ${EPYTHON}:" -i "${S}/include/Make/Platform.make.in" || die default - eautoreconf + + # When patching the build system, avoid running autoheader here. The file + # config.in.h is maintained manually upstream. Changes to it may lead to + # undefined behavior. See bug #866554. + # AT_NOEAUTOHEADER=1 eautoreconf ebegin "Fixing python shebangs" python_fix_shebang -q "${S}" diff --git a/sci-geosciences/grass/grass-9999.ebuild b/sci-geosciences/grass/grass-9999.ebuild index 8b286969e78a..7b5ec1408e74 100644 --- a/sci-geosciences/grass/grass-9999.ebuild +++ b/sci-geosciences/grass/grass-9999.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="sqlite" # bug 572440 WX_GTK_VER="3.0-gtk3" -inherit autotools desktop python-single-r1 toolchain-funcs wxwidgets xdg +inherit desktop python-single-r1 toolchain-funcs wxwidgets xdg DESCRIPTION="A free GIS with raster and vector functionality, as well as 3D vizualization" HOMEPAGE="https://grass.osgeo.org/" @@ -124,7 +124,11 @@ src_prepare() { sed -e "s:= python3:= ${EPYTHON}:" -i "${S}/include/Make/Platform.make.in" || die default - eautoreconf + + # When patching the build system, avoid running autoheader here. The file + # config.in.h is maintained manually upstream. Changes to it may lead to + # undefined behavior. See bug #866554. + # AT_NOEAUTOHEADER=1 eautoreconf ebegin "Fixing python shebangs" python_fix_shebang -q "${S}"