On Apr 12, 2016, at 04:12 , Stuart Henderson <s...@spacehopper.org> wrote:
> hmm, I'm getting this when I try to build it: > > cc -c -I. -I.. -I../filters -I.. -DHAVE_CONFIG_H -I/usr/local/include -O2 > -pipe ada-filt.c > <stdout>:532: error: conflicting types for 'yyget_leng' > ./filters.h:213: error: previous declaration of 'yyget_leng' was here > <stdout>:1644: error: conflicting types for 'yyget_leng' > ./filters.h:213: error: previous declaration of 'yyget_leng' was here > > Are you testing on an OS version with old flex? > > $ /usr/bin/flex -V > flex 2.5.39 I was. Updated to 5.9 and vile-9.8q. vile-9.8q/filters/filters.h has: #if !defined(YY_FLEX_SUBMINOR_VERSION) || (YY_FLEX_SUBMINOR_VERSION < 37) extern int yyget_leng (void); #endif to address this. Tested with 5.8 (flex 2.5.4) and 5.9. > Can you try updating it to the 9.8q version please? > > http://invisible-mirror.net/archives/vile/current/ > ftp://invisible-island.net/vile/current/ > ftp://dickey.his.com/vile/current/ Good idea--I didn't know about the later releases! diff -r f17418bfd89c Makefile --- a/Makefile Mon Apr 11 21:06:29 2016 -0700 +++ b/Makefile Tue Apr 12 11:33:38 2016 -0700 @@ -1,7 +1,7 @@ # $OpenBSD$ COMMENT= VI Editor Like Emacs -DISTNAME= vile-9.8 +DISTNAME= vile-9.8q CATEGORIES= editors HOMEPAGE= http://invisible-island.net/vile/ @@ -10,8 +10,9 @@ # GPLv2 PERMIT_PACKAGE_CDROM= Yes -MASTER_SITES= ftp://ftp.invisible-island.net/vile/ \ - http://invisible-mirror.net/archives/vile/ +MASTER_SITES= http://invisible-mirror.net/archives/vile/current/ \ + ftp://ftp.invisible-island.net/vile/current/ \ + ftp://dickey.his.com/vile/current/ EXTRACT_SUFX= .tgz diff -r f17418bfd89c distinfo --- a/distinfo Mon Apr 11 21:06:29 2016 -0700 +++ b/distinfo Tue Apr 12 11:33:38 2016 -0700 @@ -1,2 +1,2 @@ -SHA256 (vile-9.8.tgz) = 3qMcAjqnqQJxBWxxLIJqXRbRmtYd9c9fKZqhAlrygNY= -SIZE (vile-9.8.tgz) = 2109000 +SHA256 (vile-9.8q.tgz) = NmsrGOol5V57m2zB0rdS8KT9xFOgoYrt1Xc/RW54Iwc= +SIZE (vile-9.8q.tgz) = 2321373 There were some other PLIST changes too. Updated http://rhyason.com/vile-openbsd/vile-openbsd.tgz . Jeff