mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
- Unbreak - fix build with latest x11-toolkits/fltk
- Fix a runtime segfault due to an uninitialized pointer Feature safe: yes
This commit is contained in:
parent
b53f78eb1a
commit
9c4b64a964
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285849
3 changed files with 26 additions and 7 deletions
|
@ -17,8 +17,6 @@ COMMENT= MIDI-capable synthesizer for X
|
|||
|
||||
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
||||
|
||||
BROKEN= does not compile
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
||||
|
|
|
@ -1,8 +1,15 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- GUI/OutputGUI.C.orig Sun Nov 26 15:52:39 2000
|
||||
+++ GUI/OutputGUI.C Mon Feb 9 12:10:10 2004
|
||||
@@ -26,8 +26,10 @@ OutputGUI::OutputGUI(Output *o)
|
||||
--- GUI/OutputGUI.C.orig 2000-11-26 16:52:39.000000000 +0100
|
||||
+++ GUI/OutputGUI.C 2011-11-15 14:11:31.000000000 +0100
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "OutputGUI.h"
|
||||
|
||||
-#include <FL/fl_file_chooser.h>
|
||||
+#include <FL/Fl_File_Chooser.H>
|
||||
|
||||
OutputGUI::OutputGUI(Output *o)
|
||||
{
|
||||
@@ -26,8 +26,10 @@
|
||||
if (!m_out) cerr<<"WARNING: Output not correctly set up"<<endl;
|
||||
}
|
||||
|
||||
|
|
14
audio/spiralsynth/files/patch-SpiralSound_Oscillator.C
Normal file
14
audio/spiralsynth/files/patch-SpiralSound_Oscillator.C
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- SpiralSound/Oscillator.C.orig 2011-11-15 14:22:27.000000000 +0100
|
||||
+++ SpiralSound/Oscillator.C 2011-11-15 14:22:21.000000000 +0100
|
||||
@@ -30,7 +30,10 @@
|
||||
m_PulseWidth(0.5f),
|
||||
m_PortmentoSpeed(1),
|
||||
m_DesiredFreq(0),
|
||||
-m_ModAmount(0.01f)
|
||||
+m_ModAmount(0.01f),
|
||||
+m_FreqModBuf(0),
|
||||
+m_PulseWidthModBuf(0),
|
||||
+m_SHModBuf(0)
|
||||
{
|
||||
m_CyclePos=new int[SpiralInfo::POLY];
|
||||
m_InOctave=new int[SpiralInfo::POLY];
|
Loading…
Add table
Reference in a new issue