Hanspeter, I'll try to attend to this tonight. I must first obtain a Mac with OS X 10.7. It has been some time since I've worked with Fink, so this may not go smoothly. Kaben
On Mon, Jan 30, 2012 at 1:21 PM, Hanspeter Niederstrasser <f...@snaggledworks.com> wrote: > Kaben, > > A user has raised interest in having your package cscope available on OS X > 10.7, but the current Fink version does not build on 10.7. > > The error is getline related (10.7 now includes getline): > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -I/sw/include -g -O2 -c > `test -f 'alloc.c' || echo './'`alloc.c > In file included from alloc.c:38: > ./global.h:395:5: error: conflicting types for 'getline' > int getline(char s[], unsigned size, int firstchar, BOOL iscaseless); > ^ > /usr/include/stdio.h:449:9: note: previous declaration is here > ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict) > __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); > ^ > 1 error generated. > > A patch has been submitted and is available on the Fink tracker, but I have > not tested it. > > <http://sourceforge.net/tracker/?func=detail&aid=3410130&group_id=17203&atid=414256> > > Alternatively, would it be possible to upgrade cscope to the latest upstream > 15.7a? > > Hanspeter ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel