summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2023-12-19 23:34:13 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2023-12-19 23:35:33 +0100
commitc318dc516a2b39839d4c2b026111e87652f5f4f9 (patch)
treefa73b69b99dedfbe2f69352fb74f2624661182d0 /media-sound/zynaddsubfx/files/zyn-fusion-ui-3.0.6-cflags_ldflags.patch
parentnet-misc/proxytunnel: drop 1.11.1 (diff)
downloadgentoo-c318dc516a2b39839d4c2b026111e87652f5f4f9.tar.gz
gentoo-c318dc516a2b39839d4c2b026111e87652f5f4f9.tar.bz2
gentoo-c318dc516a2b39839d4c2b026111e87652f5f4f9.zip
media-sound/zynaddsubfx: build new UI instead of unmaintained one
Closes: https://bugs.gentoo.org/920178 Closes: https://github.com/gentoo/gentoo/pull/34315 Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/zynaddsubfx/files/zyn-fusion-ui-3.0.6-cflags_ldflags.patch')
-rw-r--r--media-sound/zynaddsubfx/files/zyn-fusion-ui-3.0.6-cflags_ldflags.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-sound/zynaddsubfx/files/zyn-fusion-ui-3.0.6-cflags_ldflags.patch b/media-sound/zynaddsubfx/files/zyn-fusion-ui-3.0.6-cflags_ldflags.patch
new file mode 100644
index 000000000000..005b1733e5e2
--- /dev/null
+++ b/media-sound/zynaddsubfx/files/zyn-fusion-ui-3.0.6-cflags_ldflags.patch
@@ -0,0 +1,19 @@
+--- i/Makefile
++++ w/Makefile
+@@ -16,10 +16,14 @@ linux:
+ $(CC) -shared -o libzest.so `find mruby/build/host -type f | grep -v mrbc | grep -e "\.o$$" | grep -v bin` ./deps/libnanovg.a \
+ ./deps/libnanovg.a \
+ src/osc-bridge/libosc-bridge.a \
+- `pkg-config --libs libuv` -lm -lX11 -lGL -lpthread
++ $(CFLAGS) \
++ `pkg-config --libs libuv` -lm -lX11 -lGL -lpthread \
++ $(LDFLAGS)
+ $(CC) test-libversion.c deps/pugl/pugl/pugl_x11.c \
++ $(CFLAGS) \
+ -DPUGL_HAVE_GL \
+- -ldl -o zest -lX11 -lGL -lpthread -I deps/pugl -std=gnu99 -Wno-trigraphs
++ -ldl -o zest -lX11 -lGL -lpthread -I deps/pugl -std=gnu99 -Wno-trigraphs \
++ $(LDFLAGS)
+
+ osx: deps/libuv.a
+ ruby ./rebuild-fcache.rb