summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2024-03-11 15:37:25 +0000
committerMarek Szuba <marecki@gentoo.org>2024-03-11 15:39:33 +0000
commitc5a27c6941db488ac3b99eb691c16d999ab3408c (patch)
treeddcd9e01f74d52ea5895ed58a9f9a35e287ab6aa /dev-libs/isa-l_crypto
parentdev-libs/isa-l: fix slibtool build failures (diff)
downloadgentoo-c5a27c6941db488ac3b99eb691c16d999ab3408c.tar.gz
gentoo-c5a27c6941db488ac3b99eb691c16d999ab3408c.tar.bz2
gentoo-c5a27c6941db488ac3b99eb691c16d999ab3408c.zip
dev-libs/isa-l_crypto: fix slibtool build failures
Closes: https://bugs.gentoo.org/924403 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/isa-l_crypto')
-rw-r--r--dev-libs/isa-l_crypto/files/isa-l_crypto-2.24.0_fix-shebang.patch26
-rw-r--r--dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild3
2 files changed, 28 insertions, 1 deletions
diff --git a/dev-libs/isa-l_crypto/files/isa-l_crypto-2.24.0_fix-shebang.patch b/dev-libs/isa-l_crypto/files/isa-l_crypto-2.24.0_fix-shebang.patch
new file mode 100644
index 000000000000..fc26b792aacf
--- /dev/null
+++ b/dev-libs/isa-l_crypto/files/isa-l_crypto-2.24.0_fix-shebang.patch
@@ -0,0 +1,26 @@
+From b7158c5382163385ef08edec8021da259bf7afe4 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Sat, 9 Mar 2024 11:34:23 -0800
+Subject: [PATCH] tools: fix shebang
+
+This causes a build failure with slibtool.
+
+Gentoo issue: https://bugs.gentoo.org/924403
+
+Signed-off-by: orbea <orbea@riseup.net>
+--- a/tools/nasm-filter.sh
++++ b/tools/nasm-filter.sh
+@@ -1,4 +1,4 @@
+-#/bin/sh
++#!/bin/sh
+
+ # Filter out unnecessary options added by automake
+
+--- a/tools/yasm-filter.sh
++++ b/tools/yasm-filter.sh
+@@ -1,4 +1,4 @@
+-#/bin/sh
++#!/bin/sh
+
+ # Filter out unnecessary options added by automake
+
diff --git a/dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild b/dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild
index 5ea355130d4b..fba607e71b42 100644
--- a/dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild
+++ b/dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -24,6 +24,7 @@ BDEPEND="amd64? (
)"
PATCHES=(
+ "${FILESDIR}"/${PN}-2.24.0_fix-shebang.patch
"${FILESDIR}"/${PN}-2.24.0_makefile-no-D.patch
)