summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2023-05-21 03:04:15 +0300
committerSam James <sam@gentoo.org>2023-05-21 06:35:28 +0100
commit4db94c8adb0ba6646e58722c00290cc833ce566c (patch)
tree3a6323bcf1e37fb64aedc458faac3431cfb9d80b /media-libs/zita-resampler
parentapp-portage/g-octave: add gentoo upstream metadata (diff)
downloadgentoo-4db94c8adb0ba6646e58722c00290cc833ce566c.tar.gz
gentoo-4db94c8adb0ba6646e58722c00290cc833ce566c.tar.bz2
gentoo-4db94c8adb0ba6646e58722c00290cc833ce566c.zip
media-libs/zita-resampler: fix build w/ USE=tools
Closes: https://bugs.gentoo.org/906804 Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Closes: https://github.com/gentoo/gentoo/pull/31111 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/zita-resampler')
-rw-r--r--media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch10
1 files changed, 10 insertions, 0 deletions
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)
+