diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-29 20:41:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-29 21:55:43 +0200 |
commit | 30eb83dd80937406bc984e5834b82e73f8738be3 (patch) | |
tree | a66f2391fbfdcff1394a657910f2b3979602e686 /app-arch/advancecomp/advancecomp-2.2_pre20190301.ebuild | |
parent | dev-util/samurai: Security revbump to fix null pointer dereference (diff) | |
download | gentoo-30eb83dd80937406bc984e5834b82e73f8738be3.tar.gz gentoo-30eb83dd80937406bc984e5834b82e73f8738be3.tar.bz2 gentoo-30eb83dd80937406bc984e5834b82e73f8738be3.zip |
app-arch/advancecomp: Backport C++17 (GCC 11) fix
Closes: https://bugs.gentoo.org/786534
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-arch/advancecomp/advancecomp-2.2_pre20190301.ebuild')
-rw-r--r-- | app-arch/advancecomp/advancecomp-2.2_pre20190301.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app-arch/advancecomp/advancecomp-2.2_pre20190301.ebuild b/app-arch/advancecomp/advancecomp-2.2_pre20190301.ebuild index e103631dcc47..edb31f6a8c44 100644 --- a/app-arch/advancecomp/advancecomp-2.2_pre20190301.ebuild +++ b/app-arch/advancecomp/advancecomp-2.2_pre20190301.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,6 +10,7 @@ DESCRIPTION="Recompress ZIP, PNG and MNG, considerably improving compression" HOMEPAGE="https://www.advancemame.it/comp-readme.html" SRC_URI="https://github.com/amadvance/advancecomp/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" +S=${WORKDIR}/${PN}-${EGIT_COMMIT} LICENSE="GPL-2+ Apache-2.0 LGPL-2.1+ MIT" SLOT="0" @@ -24,7 +25,9 @@ DEPEND="${RDEPEND}" # https://sourceforge.net/p/advancemame/bugs/270/ RESTRICT="test" -S=${WORKDIR}/${PN}-${EGIT_COMMIT} +PATCHES=( + "${FILESDIR}"/${P}-gcc-11.patch +) src_prepare() { default |