commit:     458d238745a2df0a49f609eae70c241f71c34ab7
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 15:30:26 2024 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 15:39:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=458d2387

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

Nb. Yes, I am aware that there is a new isa-l version available
upstream. Unfortunately that version introduces quite a few QA issues
and I haven't had time to resolve them yet.

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

 .../isa-l/files/isa-l-2.30.0_fix-shebang.patch     | 26 ++++++++++++++++++++++
 dev-libs/isa-l/isa-l-2.30.0-r1.ebuild              |  1 +
 2 files changed, 27 insertions(+)

diff --git a/dev-libs/isa-l/files/isa-l-2.30.0_fix-shebang.patch 
b/dev-libs/isa-l/files/isa-l-2.30.0_fix-shebang.patch
new file mode 100644
index 000000000000..e7db25d5a8ec
--- /dev/null
+++ b/dev-libs/isa-l/files/isa-l-2.30.0_fix-shebang.patch
@@ -0,0 +1,26 @@
+From c0231591aa884754830e786cc75847b7c6c46d89 Mon Sep 17 00:00:00 2001
+From: orbea <or...@riseup.net>
+Date: Sat, 9 Mar 2024 11:32:14 -0800
+Subject: [PATCH] tools: fix shebang
+
+This causes a build failure with slibtool.
+
+Gentoo issue: https://bugs.gentoo.org/829500
+
+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/isa-l-2.30.0-r1.ebuild 
b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild
index 6e494ec705a8..e80e64915e67 100644
--- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild
+++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild
@@ -33,6 +33,7 @@ BDEPEND="
 "
 
 PATCHES=(
+       "${FILESDIR}"/${PN}-2.30.0_fix-shebang.patch
        "${FILESDIR}"/${PN}-2.30.0_makefile-no-D.patch
        "${FILESDIR}"/${PN}-2.30.0_makefile-x86.patch
 )

Reply via email to