Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 1995 01:26:33 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        phk@critter.tfs.com, scrappy@hub.org
Cc:        current@freebsd.org
Subject:   Re: cd /usr/src/lib; make depend...Fails
Message-ID:  <199512081426.BAA30958@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>make sure that your gcc defines __FreeBSD__ to 2 :-)

>> 	The offending code is:
>> 
>> #if __FreeBSD__ != 2
>> extern char *sys_errlist[];
>> #endif

The code is bogus too.  E.g., it won't work under FreeBSD 3.1.4.1.5 :-).

I was annoyed when someone globably replaced all the bogus __386BSD__'s
with bogus __FreeBSD__'s and made this list:

src/gnu/games/chess/Xchess/program.c		XXX
src/gnu/games/chess/Xchess/scrollText.c		XXX
src/gnu/games/chess/Xchess/std.c		XXX
src/gnu/usr.bin/cvs/lib/getopt.c		XXX
src/gnu/usr.bin/cvs/lib/regex.h			XXX
src/gnu/usr.bin/groff/indxbib/dirnamemax.c	YYY
src/gnu/usr.bin/kgdb/config/i386bsd-dep.c	XXX
src/gnu/usr.bin/tar/getdate.y			XXX
src/lib/libncurses/TESTS/knight.c		YYY
src/usr.sbin/bootpd/getether.c			XXX
src/libexec/rpc.rusersd/rusers_proc.c		XXX
src/sys/i386/include/npx.h			XXX :-(
src/usr.bin/ncftp/sys.h				XXX
src/libexec/bootpd/getether.c			XXX
src/usr.sbin/sendmail/src/conf.h
src/bin/ed/ed.h

In most places the correct fix is to remove the non-FreeBSD code and
keep it only in cvs.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512081426.BAA30958>