From 9c4b64a964b995cf74774308b95d8a29e453368d Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 15 Nov 2011 13:26:36 +0000 Subject: [PATCH] - Unbreak - fix build with latest x11-toolkits/fltk - Fix a runtime segfault due to an uninitialized pointer Feature safe: yes --- audio/spiralsynth/Makefile | 2 -- audio/spiralsynth/files/patch-GUI_OutputGUI.C | 17 ++++++++++++----- .../files/patch-SpiralSound_Oscillator.C | 14 ++++++++++++++ 3 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 audio/spiralsynth/files/patch-SpiralSound_Oscillator.C diff --git a/audio/spiralsynth/Makefile b/audio/spiralsynth/Makefile index 445786de7525..24acb8166722 100644 --- a/audio/spiralsynth/Makefile +++ b/audio/spiralsynth/Makefile @@ -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}" diff --git a/audio/spiralsynth/files/patch-GUI_OutputGUI.C b/audio/spiralsynth/files/patch-GUI_OutputGUI.C index 18a74a00b1fe..ec7bdb63623e 100644 --- a/audio/spiralsynth/files/patch-GUI_OutputGUI.C +++ b/audio/spiralsynth/files/patch-GUI_OutputGUI.C @@ -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 ++#include + + OutputGUI::OutputGUI(Output *o) + { +@@ -26,8 +26,10 @@ if (!m_out) cerr<<"WARNING: Output not correctly set up"<