From f7f6fbe43d1003563b8c55febf45305cfbfebf79 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 22 May 2016 16:15:38 +0000 Subject: Prevent collision with getline(3) --- audio/cmp3/files/patch-cmp3common.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 audio/cmp3/files/patch-cmp3common.c (limited to 'audio/cmp3/files/patch-cmp3common.c') 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 */ -- cgit v1.2.3