commit:     c5a27c6941db488ac3b99eb691c16d999ab3408c
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 15:37:25 2024 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 15:39:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5a27c69

dev-libs/isa-l_crypto: fix slibtool build failures

Closes: https://bugs.gentoo.org/924403
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../files/isa-l_crypto-2.24.0_fix-shebang.patch    | 26 ++++++++++++++++++++++
 dev-libs/isa-l_crypto/isa-l_crypto-2.24.0.ebuild   |  3 ++-
 2 files changed, 28 insertions(+), 1 deletion(-)

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 <or...@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 <or...@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
 )
 

Reply via email to