diff options
author | Steve Price <steve@FreeBSD.org> | 2000-12-11 02:46:00 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-12-11 02:46:00 +0000 |
commit | 08350e9c6c25f066108cb5d68d124478b516e787 (patch) | |
tree | 63822e5a464108fba3711fa7f3cf53f9ab2a884d /audio/mpegaudio/files/patch-ae | |
parent | cfecbf812d7e850ac006f71525c8cf4638b09383 (diff) | |
download | ports-08350e9c6c25f066108cb5d68d124478b516e787.tar.gz ports-08350e9c6c25f066108cb5d68d124478b516e787.zip |
- Fix MASTER_SITES
- Support CC properly
- Change location of data files from lib/ to share/
- gets() -> fgets()
PR: 23270
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=35863
Diffstat (limited to 'audio/mpegaudio/files/patch-ae')
-rw-r--r-- | audio/mpegaudio/files/patch-ae | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/audio/mpegaudio/files/patch-ae b/audio/mpegaudio/files/patch-ae new file mode 100644 index 000000000000..d7dc9e57a4bd --- /dev/null +++ b/audio/mpegaudio/files/patch-ae @@ -0,0 +1,47 @@ +--- musicout.c.orig Wed Jan 5 13:39:27 1994 ++++ musicout.c Tue Aug 22 02:37:30 2000 +@@ -58,6 +58,8 @@ + #include "common.h" + #include "decoder.h" + ++#include <stdlib.h> ++ + /******************************************************************** + /* + /* This part contains the MPEG I decoder for Layers I & II. +@@ -139,7 +141,7 @@ + if(argc==1) { /* no command line args -> interact */ + do { + printf ("Enter encoded file name <required>: "); +- gets (encoded_file_name); ++ fgets (encoded_file_name,sizeof(encoded_file_name),stdin); + if (encoded_file_name[0] == NULL_CHAR) + printf ("Encoded file name is required. \n"); + } while (encoded_file_name[0] == NULL_CHAR); +@@ -151,7 +153,7 @@ + printf ("Enter MPEG decoded file name <%s%s>: ", encoded_file_name, + DFLT_OPEXT); + #endif +- gets (decoded_file_name); ++ fgets (decoded_file_name,sizeof(decoded_file_name),stdin); + if (decoded_file_name[0] == NULL_CHAR) { + #ifdef MS_DOS + /* replace old extension with new one, 92-08-19 shn */ +@@ -164,7 +166,7 @@ + + printf( + "Do you wish to write an AIFF compatible sound file ? (y/<n>) : "); +- gets(t); ++ fgets(t,sizeof(t),stdin); + if (*t == 'y' || *t == 'Y') need_aiff = TRUE; + else need_aiff = FALSE; + if (need_aiff) +@@ -173,7 +175,7 @@ + + printf( + "Do you wish to exit (last chance before decoding) ? (y/<n>) : "); +- gets(t); ++ fgets(t,sizeof(t),stdin); + if (*t == 'y' || *t == 'Y') exit(0); + } + else { /* interpret CL Args */ |