diff options
author | orbea <orbea@riseup.net> | 2022-06-20 20:32:54 -0700 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-28 07:05:55 +0100 |
commit | ee0d32064e74722ddb1befc80a085648a96cbca7 (patch) | |
tree | 91d38493b2f039982e20e8a5eed894f0f779ae15 /media-libs/libmatemixer/files | |
parent | dev-util/mingw64-toolchain: symlink gcc lto plugin for AR (diff) | |
download | gentoo-ee0d32064e74722ddb1befc80a085648a96cbca7.tar.gz gentoo-ee0d32064e74722ddb1befc80a085648a96cbca7.tar.bz2 gentoo-ee0d32064e74722ddb1befc80a085648a96cbca7.zip |
media-libs/libmatemixer: Add 1.26.0
Includes a patch to fix undefined references exposed with slibtool.
Bug: https://bugs.gentoo.org/785232
Upstream-PR: https://github.com/mate-desktop/libmatemixer/pull/37
Signed-off-by: orbea <orbea@riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/26014
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libmatemixer/files')
-rw-r--r-- | media-libs/libmatemixer/files/libmatemixer-1.26.0-slibtool.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/libmatemixer/files/libmatemixer-1.26.0-slibtool.patch b/media-libs/libmatemixer/files/libmatemixer-1.26.0-slibtool.patch new file mode 100644 index 000000000000..05ad6a744fa8 --- /dev/null +++ b/media-libs/libmatemixer/files/libmatemixer-1.26.0-slibtool.patch @@ -0,0 +1,71 @@ +Upstream-PR: https://github.com/mate-desktop/libmatemixer/pull/37 + +From 903dfc62b1898efb630286228c2e797162f5816c Mon Sep 17 00:00:00 2001 +From: orbea <orbea@riseup.net> +Date: Thu, 12 May 2022 18:34:52 -0700 +Subject: [PATCH] backends: Add missing dependencies + +When building the backends with slibtool they will fail with undefined +references to libmatemixer.la. This is because they use -no-undefined +which slibtool explicitly supports while GNU libtool will silently +ignore it. + +Gentoo Bug: https://bugs.gentoo.org/785232 +--- + backends/alsa/Makefile.am | 1 + + backends/null/Makefile.am | 4 +++- + backends/oss/Makefile.am | 1 + + backends/pulse/Makefile.am | 1 + + 4 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/backends/alsa/Makefile.am b/backends/alsa/Makefile.am +index 798ce8b..44990b5 100644 +--- a/backends/alsa/Makefile.am ++++ b/backends/alsa/Makefile.am +@@ -43,6 +43,7 @@ libmatemixer_alsa_la_SOURCES = \ + alsa-types.h + + libmatemixer_alsa_la_LIBADD = \ ++ $(top_builddir)/libmatemixer/libmatemixer.la \ + $(GLIB_LIBS) \ + $(UDEV_LIBS) \ + $(ALSA_LIBS) +diff --git a/backends/null/Makefile.am b/backends/null/Makefile.am +index f0371a7..11d4b7f 100644 +--- a/backends/null/Makefile.am ++++ b/backends/null/Makefile.am +@@ -18,7 +18,9 @@ libmatemixer_null_la_SOURCES = \ + null-backend.c \ + null-backend.h + +-libmatemixer_null_la_LIBADD = $(GLIB_LIBS) ++libmatemixer_null_la_LIBADD = \ ++ $(top_builddir)/libmatemixer/libmatemixer.la \ ++ $(GLIB_LIBS) + + libmatemixer_null_la_LDFLAGS = \ + -avoid-version \ +diff --git a/backends/oss/Makefile.am b/backends/oss/Makefile.am +index d9e1fa7..cc5735f 100644 +--- a/backends/oss/Makefile.am ++++ b/backends/oss/Makefile.am +@@ -32,6 +32,7 @@ libmatemixer_oss_la_SOURCES = \ + oss-types.h + + libmatemixer_oss_la_LIBADD = \ ++ $(top_builddir)/libmatemixer/libmatemixer.la \ + $(GLIB_LIBS) \ + $(OSS_LIBS) + +diff --git a/backends/pulse/Makefile.am b/backends/pulse/Makefile.am +index b07cc7e..a079af1 100644 +--- a/backends/pulse/Makefile.am ++++ b/backends/pulse/Makefile.am +@@ -62,6 +62,7 @@ libmatemixer_pulse_la_SOURCES = \ + pulse-types.h + + libmatemixer_pulse_la_LIBADD = \ ++ $(top_builddir)/libmatemixer/libmatemixer.la \ + $(GLIB_LIBS) \ + $(PULSEAUDIO_LIBS) + |