commit:     e9245494e258c3d50806d6640d7aae97debc75a3
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Thu Dec 12 14:40:59 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=e9245494

media-libs/speex: fix autoreconf with slibtoolize

Upstream-PR: https://github.com/xiph/speex/pull/24
Upstream-Commit: 
https://github.com/xiph/speex/commit/1de1260d24e01224df5fbb8b92893106c89bb8de
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../speex/files/speex-1.2.1-slibtoolize.patch      | 28 ++++++++++++++++++++++
 media-libs/speex/speex-1.2.1-r2.ebuild             |  1 +
 2 files changed, 29 insertions(+)

diff --git a/media-libs/speex/files/speex-1.2.1-slibtoolize.patch 
b/media-libs/speex/files/speex-1.2.1-slibtoolize.patch
new file mode 100644
index 000000000000..eef545d9648a
--- /dev/null
+++ b/media-libs/speex/files/speex-1.2.1-slibtoolize.patch
@@ -0,0 +1,28 @@
+https://github.com/xiph/speex/pull/24
+https://github.com/xiph/speex/commit/1de1260d24e01224df5fbb8b92893106c89bb8de
+
+From 1de1260d24e01224df5fbb8b92893106c89bb8de Mon Sep 17 00:00:00 2001
+From: orbea <or...@riseup.net>
+Date: Tue, 4 Jun 2024 08:59:02 -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 0a7d5c1c..0a631b15 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -27,7 +27,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/speex/speex-1.2.1-r2.ebuild 
b/media-libs/speex/speex-1.2.1-r2.ebuild
index f249467b5235..1381791341de 100644
--- a/media-libs/speex/speex-1.2.1-r2.ebuild
+++ b/media-libs/speex/speex-1.2.1-r2.ebuild
@@ -33,6 +33,7 @@ S="${WORKDIR}/${MY_P}"
 PATCHES=(
        "${FILESDIR}"/${PN}-1.2.0-configure.patch
        "${FILESDIR}"/${P}-vla-detection.patch
+       "${FILESDIR}"/${P}-slibtoolize.patch
        "${FILESDIR}"/${PN}-1.2.1-valgrind.patch
 )
 

Reply via email to