summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch b/meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch
deleted file mode 100644
index 4db4934fdc..0000000000
--- a/meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1From 01cd8cb6d594d7a12c67d21d689ebe0e347469c0 Mon Sep 17 00:00:00 2001
2From: Tanu Kaskinen <tanuk@iki.fi>
3Date: Fri, 20 Dec 2019 09:26:12 +0200
4Subject: [PATCH] configure.ac: remove an unnecessary libtool fix
5
6This code was added in commit 75d393a563efb578c79364a277087c6326267f52
7without explaining why. I assume it was a mistake, since it looks like
8the libtool problem should have gone away a long time ago. The referenced
9wiki page https://wiki.debian.org/RpathIssue says:
10
11 Since libtool 1.5.2 (released 2004-01-25), on Linux libtool no
12 longer sets RPATH for any directories in the dynamic linker search
13 path, so this should no longer be an issue unless upstream used a
14 really old version of libtool when creating their distribution
15 tarball.
16
17This code caused problems in OpenEmbedded, where the libtool script is
18named "x86_64-oe-linux-libtool" or similar rather than just "libtool",
19so the sed command failed with a file not found error. Rather than
20adapting the code to OpenEmbedded's peculiarities, it seems best to just
21remove the unnecessary code altogether.
22
23Upstream-Status: Submitted [https://github.com/alsa-project/alsa-lib/pull/19]
24Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
25---
26 configure.ac | 11 -----------
27 1 file changed, 11 deletions(-)
28
29diff --git a/configure.ac b/configure.ac
30index 119ef600..22a4a885 100644
31--- a/configure.ac
32+++ b/configure.ac
33@@ -764,14 +764,3 @@ test "$build_seq" = "yes" && echo "#include <alsa/seq.h>" >> include/asoundlib.h
34 test "$build_seq" = "yes" && echo "#include <alsa/seqmid.h>" >> include/asoundlib.h
35 test "$build_seq" = "yes" && echo "#include <alsa/seq_midi_event.h>" >> include/asoundlib.h
36 cat "$srcdir"/include/asoundlib-tail.h >> include/asoundlib.h
37-
38-dnl Taken from https://wiki.debian.org/RpathIssue
39-case $host in
40- *-*-linux-gnu)
41- AC_MSG_RESULT([Fixing libtool for -rpath problems.])
42- sed < libtool > libtool-2 \
43- 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/'
44- mv libtool-2 libtool
45- chmod 755 libtool
46- ;;
47-esac
48--
492.20.1
50