commit: 984af8e316087ab6a6562a7ddd0bc09fb19f272a Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Mon Jul 27 15:00:14 2020 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Mon Jul 27 15:19:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=984af8e3
app-arch/zip: fix bashism in zip-3.0-pic.patch Closes: https://bugs.gentoo.org/723084 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16855 app-arch/zip/files/zip-3.0-pic.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/zip/files/zip-3.0-pic.patch b/app-arch/zip/files/zip-3.0-pic.patch index 69e0445f964..89a52e246f0 100644 --- a/app-arch/zip/files/zip-3.0-pic.patch +++ b/app-arch/zip/files/zip-3.0-pic.patch @@ -9,7 +9,7 @@ assembly files as none of it is PIC friendly. OCRCU8="" +piclib="$(echo | $CPP -dM $CFLAGS - | grep -i __pic__)" +echo "Checking if compiler wants to create pic code" -+[ "$piclib" == "" ] && \ ++[ "$piclib" = "" ] && \ if eval "$CPP match.S > _match.s 2>/dev/null"; then if test ! -s _match.s || grep error < _match.s > /dev/null; then :
