summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2020-07-27 17:00:14 +0200
committerMike Gilbert <floppym@gentoo.org>2020-07-27 11:19:23 -0400
commit984af8e316087ab6a6562a7ddd0bc09fb19f272a (patch)
tree37a1c158b86a51e2c519075983a3d520a71009fd /app-arch
parentdev-python/tubes: Revision bump, remove unnecessary dep (diff)
downloadgentoo-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')
-rw-r--r--app-arch/zip/files/zip-3.0-pic.patch2
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
: