From owner-svn-ports-head@freebsd.org Sun May 22 16:15:40 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0AD52B45ECA; Sun, 22 May 2016 16:15:40 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7155171B; Sun, 22 May 2016 16:15:39 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4MGFcm3040346; Sun, 22 May 2016 16:15:38 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4MGFck6040344; Sun, 22 May 2016 16:15:38 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201605221615.u4MGFck6040344@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sun, 22 May 2016 16:15:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415638 - head/audio/cmp3/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2016 16:15:40 -0000 Author: bapt Date: Sun May 22 16:15:38 2016 New Revision: 415638 URL: https://svnweb.freebsd.org/changeset/ports/415638 Log: Prevent collision with getline(3) Added: head/audio/cmp3/files/patch-cmp3common.c (contents, props changed) head/audio/cmp3/files/patch-cmp3funcs.h (contents, props changed) Added: head/audio/cmp3/files/patch-cmp3common.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cmp3/files/patch-cmp3common.c Sun May 22 16:15:38 2016 (r415638) @@ -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 */ Added: head/audio/cmp3/files/patch-cmp3funcs.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cmp3/files/patch-cmp3funcs.h Sun May 22 16:15:38 2016 (r415638) @@ -0,0 +1,18 @@ +--- cmp3funcs.h.orig 2001-06-13 20:13:27 UTC ++++ cmp3funcs.h +@@ -64,7 +64,7 @@ extern Sigfunc *Signal(int signo, Sigfun + extern char *Strdup(const char *string); + extern int Strcmp(const char *str1, const char *str2); + extern int Strncmp(const char *str1, const char *str2, int num); +-extern int getline(char *var, int maxbuf, FILE *input); ++extern int get_line(char *var, int maxbuf, FILE *input); + + extern void *Malloc(size_t size); + +@@ -86,4 +86,4 @@ extern void voldown(); + /* cmp3id3.c */ + extern int readid3(id3info_t *songinfo, char *songfilename); + +-/* EOF */ +\ No newline at end of file ++/* EOF */