diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2020-07-27 17:00:14 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-07-27 11:19:23 -0400 |
commit | 984af8e316087ab6a6562a7ddd0bc09fb19f272a (patch) | |
tree | 37a1c158b86a51e2c519075983a3d520a71009fd /app-arch/zip | |
parent | dev-python/tubes: Revision bump, remove unnecessary dep (diff) | |
download | gentoo-984af8e316087ab6a6562a7ddd0bc09fb19f272a.tar.gz gentoo-984af8e316087ab6a6562a7ddd0bc09fb19f272a.tar.bz2 gentoo-984af8e316087ab6a6562a7ddd0bc09fb19f272a.zip |
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@pogatzki.net>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/16855
Diffstat (limited to 'app-arch/zip')
-rw-r--r-- | app-arch/zip/files/zip-3.0-pic.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-arch/zip/files/zip-3.0-pic.patch b/app-arch/zip/files/zip-3.0-pic.patch index 69e0445f9646..89a52e246f03 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 : |