From d6b58107505d4cd8f862b36a80d11a780caf168d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de> Date: Mon, 14 Dec 2020 15:56:03 +0100 Subject: [PATCH] io.elementary.music: fix build --- .../io.elementary.music/patches/vala-array-size.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/io.elementary.music/patches/vala-array-size.patch diff --git a/srcpkgs/io.elementary.music/patches/vala-array-size.patch b/srcpkgs/io.elementary.music/patches/vala-array-size.patch new file mode 100644 index 0000000000..436ad733ac --- /dev/null +++ b/srcpkgs/io.elementary.music/patches/vala-array-size.patch @@ -0,0 +1,11 @@ +--- core/GStrewamer/Equalizer.vala 2020-03-04 23:50:04.000000000 +0100 ++++ core/GStreamer/Equalizer.vala 2020-12-14 15:53:22.359597220 +0100 +@@ -31,7 +31,7 @@ + construct { + element = Gst.ElementFactory.make ("equalizer-10bands", "equalizer"); + +- int[10] freqs = {60, 170, 310, 600, 1000, 3000, 6000, 12000, 14000, 16000}; ++ int freqs[10] = {60, 170, 310, 600, 1000, 3000, 6000, 12000, 14000, 16000}; + + float last_freq = 0; + for (int index = 0; index < 10; index++) {