svn commit: r549049 - head/audio/stegosaurus-lv2/files
Yuri Victorovich
yuri at FreeBSD.org
Sat Sep 19 18:53:51 UTC 2020
Author: yuri
Date: Sat Sep 19 18:53:50 2020
New Revision: 549049
URL: https://svnweb.freebsd.org/changeset/ports/549049
Log:
audio/stegosaurus-lv2: Fix build on 13-CURRENT with clang-11
Symbol was defined in the header and included mutiple times.
Reported by: fallout
MFH: 2020Q3
Added:
head/audio/stegosaurus-lv2/files/patch-stegosaurus__synth.c (contents, props changed)
head/audio/stegosaurus-lv2/files/patch-stegosaurus__synth.h (contents, props changed)
Added: head/audio/stegosaurus-lv2/files/patch-stegosaurus__synth.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/stegosaurus-lv2/files/patch-stegosaurus__synth.c Sat Sep 19 18:53:50 2020 (r549049)
@@ -0,0 +1,11 @@
+--- stegosaurus_synth.c.orig 2020-09-19 18:50:38 UTC
++++ stegosaurus_synth.c
+@@ -2,6 +2,8 @@
+ #include "stegosaurus_synth.h"
+ #include "noise.h"
+
++stegosaurus* stegosaurus_self = 0;
++
+ voice* voices[4];
+ int next_voice = 0;
+ int keys[128];
Added: head/audio/stegosaurus-lv2/files/patch-stegosaurus__synth.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/stegosaurus-lv2/files/patch-stegosaurus__synth.h Sat Sep 19 18:53:50 2020 (r549049)
@@ -0,0 +1,11 @@
+--- stegosaurus_synth.h.orig 2020-09-19 18:50:03 UTC
++++ stegosaurus_synth.h
+@@ -26,7 +26,7 @@ void stegosaurus_synth_set_osc_waves(int, int, int);
+ #define ENV_STATE_KILL 7
+
+
+-stegosaurus* stegosaurus_self;
++extern stegosaurus* stegosaurus_self;
+
+
+ typedef struct
More information about the svn-ports-all
mailing list