commit:     f195080b43e59fba5fb65ecd346fdefb6d4adee8
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Thu Dec 12 14:46:51 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 13 09:32:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f195080b

media-libs/speexdsp: fix autoreconf with slibtoolize

Upstream-PR: https://github.com/xiph/speexdsp/pull/48
Upstream-Commit: 
https://github.com/xiph/speexdsp/commit/dbd421d149a9c362ea16150694b75b63d757a521
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/speexdsp-1.2.1-slibtoolize.patch         | 28 ++++++++++++++++++++++
 media-libs/speexdsp/speexdsp-1.2.1.ebuild          |  3 ++-
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/media-libs/speexdsp/files/speexdsp-1.2.1-slibtoolize.patch 
b/media-libs/speexdsp/files/speexdsp-1.2.1-slibtoolize.patch
new file mode 100644
index 000000000000..63688bc27070
--- /dev/null
+++ b/media-libs/speexdsp/files/speexdsp-1.2.1-slibtoolize.patch
@@ -0,0 +1,28 @@
+https://github.com/xiph/speexdsp/pull/48
+https://github.com/xiph/speexdsp/commit/dbd421d149a9c362ea16150694b75b63d757a521
+
+From dbd421d149a9c362ea16150694b75b63d757a521 Mon Sep 17 00:00:00 2001
+From: orbea <or...@riseup.net>
+Date: Tue, 4 Jun 2024 08:54:37 -0700
+Subject: [PATCH] configure.ac: don't use internal GNU libtool functions
+
+This doesn't work when using slibtoolize instead of GNU libtoolize and
+is not necessary anyways.
+
+Signed-off-by: orbea <or...@riseup.net>
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index cd433ffe..413f71da 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -22,7 +22,6 @@ AM_INIT_AUTOMAKE([foreign no-define])
+ AM_MAINTAINER_MODE([enable])
+ 
+ AC_CANONICAL_HOST
+-_LT_SET_OPTION([LT_INIT],[win32-dll])
+ LT_INIT
+ 
+ AC_C_BIGENDIAN

diff --git a/media-libs/speexdsp/speexdsp-1.2.1.ebuild 
b/media-libs/speexdsp/speexdsp-1.2.1.ebuild
index 9c163de502b2..4c7c02bf2599 100644
--- a/media-libs/speexdsp/speexdsp-1.2.1.ebuild
+++ b/media-libs/speexdsp/speexdsp-1.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,6 +23,7 @@ S="${WORKDIR}/${MY_P}"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-1.2.0-configure.patch
+       "${FILESDIR}"/${P}-slibtoolize.patch
 )
 
 src_prepare() {

Reply via email to