Index: head/science/epte/files/patch-setaudio.c =================================================================== --- head/science/epte/files/patch-setaudio.c (revision 546829) +++ head/science/epte/files/patch-setaudio.c (revision 546830) @@ -1,11 +1,20 @@ ---- setaudio.c.orig 2010-09-01 10:55:30.665968356 +0200 -+++ setaudio.c 2010-09-01 10:56:04.763401409 +0200 +--- setaudio.c.orig 1999-04-07 20:06:21 UTC ++++ setaudio.c +@@ -297,7 +297,7 @@ modification follow. + #include + #include "periodic.h" + +-FILE *Audio; ++extern FILE *Audio; + int AudioFiles; + + extern char *program_root; @@ -312,7 +312,7 @@ void setaudio ( void ) char File_Name[1024]; char *file_name; -#ifdef VMS +#if defined(VMS) || defined(__FreeBSD__) || defined(__DragonFly__) #else /* The audio device sometimes does not work if it is left open for a long