diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-22 16:15:38 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-22 16:15:38 +0000 |
commit | f7f6fbe43d1003563b8c55febf45305cfbfebf79 (patch) | |
tree | ec44686f27f026817e7f2302edcf972ff661ff51 /audio/cmp3/files/patch-cmp3common.c | |
parent | Update to 0.2.1 (diff) |
Prevent collision with getline(3)
Notes
Notes:
svn path=/head/; revision=415638
Diffstat (limited to '')
-rw-r--r-- | audio/cmp3/files/patch-cmp3common.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/cmp3/files/patch-cmp3common.c b/audio/cmp3/files/patch-cmp3common.c new file mode 100644 index 000000000000..e77e883d8e56 --- /dev/null +++ b/audio/cmp3/files/patch-cmp3common.c @@ -0,0 +1,18 @@ +--- cmp3common.c.orig 2001-06-13 20:13:13 UTC ++++ cmp3common.c +@@ -102,7 +102,7 @@ int Strncmp(const char *str1, /* Firs + return(i); + } + +-int getline(char *var, /* Buffer to copy line into */ ++int get_line(char *var, /* Buffer to copy line into */ + int maxbuf, /* MAX to send to fgets */ + FILE *input /* File descriptor to get line from */) + { +@@ -142,4 +142,4 @@ void *Malloc(size_t size) + } + + +-/* EOF */ +\ No newline at end of file ++/* EOF */ |