Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2020 18:53:51 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549049 - head/audio/stegosaurus-lv2/files
Message-ID:  <202009191853.08JIrpWg010309@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009191853.08JIrpWg010309>