bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in cvs-1.11.23.tar.gz


From: aziz . choutita
Subject: Re: bug in cvs-1.11.23.tar.gz
Date: Tue, 4 Feb 2014 06:42:02 -0800 (PST)
User-agent: G2/1.0

Le mercredi 27 mars 2013 07:17:46 UTC, Petr Pisar a écrit :
> On Tue, Mar 26, 2013 at 09:02:09PM +0800, lizt wrote:
> 
> >     I  found a bug when I installed the cvs using source package
> 
> > cvs-1.11.23.tar.gz .
> 
> >     Detail:
> 
> >         make  all-recursive
> 
> >         make[1]: Entering directory `/home/myPrograms/cvs/cvs-1.11.23'
> 
> >         Making all in lib
> 
> >         make[2]: Entering directory `/home/myPrograms/cvs/cvs-1.11.23/lib'
> 
> >         gcc -DHAVE_CONFIG_H -I. -I.. -I../src     -g -O2 -MT
> 
> > getline.o -MD -MP -MF .deps/getline.Tpo -c -o getline.o getline.c
> 
> >         In file included from getline.c:25:0:
> 
> >         getline.h:15:3: error: conflicting types for 'getline'
> 
> >         /usr/include/stdio.h:675:20: note: previous declaration of
> 
> > 'getline' was here
> 
> >         getline.c:158:1: error: conflicting types for 'getline'
> 
> >         /usr/include/stdio.h:675:20: note: previous declaration of
> 
> > 'getline' was here
> 
> Use patch
> 
> <http://pkgs.fedoraproject.org/cgit/cvs.git/plain/cvs-1.11.23-getline64.patch>.
> 
> The sources bundles old implemetation from gnulib which is not compatible with
> 
> current glibc.
> 
> 
> 
> -- Petr

I found this fix in :
http://permalink.gmane.org/gmane.linux.lfs.devel/10198

 find all the .c programs that call getline and change those to
 get_line.

sed -i 's/getline /get_line /' lib/getline.{c,h}
it's work


reply via email to

[Prev in Thread] Current Thread [Next in Thread]