public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/zita-resampler/files/
@ 2023-05-21  5:35 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-05-21  5:35 UTC (permalink / raw
  To: gentoo-commits

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)
+ 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-21  5:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-21  5:35 [gentoo-commits] repo/gentoo:master commit in: media-libs/zita-resampler/files/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox