summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/freebirth/files/freebirth-0.3.2-segfault.patch')
-rw-r--r--media-sound/freebirth/files/freebirth-0.3.2-segfault.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-sound/freebirth/files/freebirth-0.3.2-segfault.patch b/media-sound/freebirth/files/freebirth-0.3.2-segfault.patch
new file mode 100644
index 000000000000..2a3a40711f1c
--- /dev/null
+++ b/media-sound/freebirth/files/freebirth-0.3.2-segfault.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/show_bug.cgi?id=320123
+
+Index: freebirth-0.3.2/oscillator.c
+===================================================================
+--- freebirth-0.3.2.orig/oscillator.c
++++ freebirth-0.3.2/oscillator.c
+@@ -237,8 +237,8 @@ event *event_freq_change_new(int seq_han
+
+ static sample_producer **get_children(osc *this)
+ {
+- static sample_producer *no_kids[] = { NULL };
+- return no_kids;
++ static sample_producer no_kids[] = {{ NULL }};
++ return &no_kids;
+ }
+
+ static char **get_header(osc *this)