commit: 4db94c8adb0ba6646e58722c00290cc833ce566c Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me> AuthorDate: Sun May 21 00:04:15 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 21 05:35:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db94c8a
media-libs/zita-resampler: fix build w/ USE=tools Closes: https://bugs.gentoo.org/906804 Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me> Closes: https://github.com/gentoo/gentoo/pull/31111 Signed-off-by: Sam James <sam <AT> gentoo.org> .../zita-resampler/files/zita-resampler-1.10.1-makefile.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch b/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch index 45859759c445..cbc2ee6e17d3 100644 --- a/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch +++ b/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch @@ -77,3 +77,13 @@ diff -urpN zita-resampler-1.10.1.orig/source/Makefile zita-resampler-1.10.1/sour LDFLAGS += LDLIBS += +@@ -49,6 +47,9 @@ ZITA-RESAMPLER_H = zita-resampler/resamp + zita-resampler/vresampler.h zita-resampler/cresampler.h + + ++$(ZITA-RESAMPLER_SO): $(ZITA-RESAMPLER_MIN) ++ ln -sf $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_SO) ++ + $(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O) + $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP) +