1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix build with gcc 3.4

Submitted by:	Alexander Koenig <alex@lisas.de>
This commit is contained in:
Tilman Keskinoz 2004-08-27 11:26:04 +00:00
parent 7d78db2cc3
commit 3267fde6d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117409
2 changed files with 38 additions and 0 deletions

View File

@ -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();

View File

@ -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; }