From 3267fde6d1d9623964d9e9b5dc563f3d3121eb3d Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Fri, 27 Aug 2004 11:26:04 +0000 Subject: [PATCH] Fix build with gcc 3.4 Submitted by: Alexander Koenig --- audio/terminatorx/files/patch-src-tX_seqpar.h | 15 ++++++++++++ audio/terminatorx/files/patch-src-tX_vttfx.h | 23 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 audio/terminatorx/files/patch-src-tX_seqpar.h create mode 100644 audio/terminatorx/files/patch-src-tX_vttfx.h diff --git a/audio/terminatorx/files/patch-src-tX_seqpar.h b/audio/terminatorx/files/patch-src-tX_seqpar.h new file mode 100644 index 000000000000..fda81d100c67 --- /dev/null +++ b/audio/terminatorx/files/patch-src-tX_seqpar.h @@ -0,0 +1,15 @@ +--- src/tX_seqpar.h.orig Fri Aug 27 13:16:57 2004 ++++ src/tX_seqpar.h Fri Aug 27 13:18:07 2004 +@@ -94,9 +94,9 @@ + static tX_seqpar *get_sp_by_persistence_id(unsigned int pid); + + void record_value (const float value); +- virtual void do_exec(const float value)=NULL; +- virtual void exec_value(const float value)=NULL; +- virtual void do_update_graphics()=NULL; ++ virtual void do_exec(const float value)=0; ++ virtual void exec_value(const float value)=0; ++ virtual void do_update_graphics()=0; + void update_graphics(); + static void update_all_graphics(); + static void init_all_graphics(); diff --git a/audio/terminatorx/files/patch-src-tX_vttfx.h b/audio/terminatorx/files/patch-src-tX_vttfx.h new file mode 100644 index 000000000000..e53af686dec6 --- /dev/null +++ b/audio/terminatorx/files/patch-src-tX_vttfx.h @@ -0,0 +1,23 @@ +--- src/tX_vttfx.h.orig Fri Aug 27 13:14:20 2004 ++++ src/tX_vttfx.h Fri Aug 27 13:20:34 2004 +@@ -56,15 +56,15 @@ + void set_vtt(void *v) { vtt=v;} + void *get_vtt() { return vtt; } + +- virtual void activate()=NULL; +- virtual void deactivate()=NULL; +- virtual void run()=NULL; +- virtual int isEnabled()=NULL; ++ virtual void activate()=0; ++ virtual void deactivate()=0; ++ virtual void run()=0; ++ virtual int isEnabled()=0; + virtual void reconnect_buffer(); + + virtual const char *get_info_string()=NULL; + +- virtual void save(FILE *rc, gzFile rz, char *indent)=NULL; ++ virtual void save(FILE *rc, gzFile rz, char *indent)=0; + + GtkWidget* get_panel_widget() { return panel_widget; } + void set_panel_widget(GtkWidget *widget) { panel_widget=widget; }