From 4db94c8adb0ba6646e58722c00290cc833ce566c Mon Sep 17 00:00:00 2001 From: Alexander Tsoy Date: Sun, 21 May 2023 03:04:15 +0300 Subject: media-libs/zita-resampler: fix build w/ USE=tools Closes: https://bugs.gentoo.org/906804 Signed-off-by: Alexander Tsoy Closes: https://github.com/gentoo/gentoo/pull/31111 Signed-off-by: Sam James --- .../zita-resampler/files/zita-resampler-1.10.1-makefile.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'media-libs') 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) + -- cgit v1.2.3-65-gdbad