Re: gentoo build
BTW, if this works, please send it to the maintainer as well...I won't
have time to follow up on this, unfortunately (trying to work on some
binutils issues on hppa atm).
On Sat, 8 Dec 2001, Christopher C. Chimelis wrote:
> On Sat, 8 Dec 2001, Ivan E. Moore II wrote:
> > Can someone take a look at the gentoo build. (http://buildd.debian.org)
> > It fails to build on unstable (either through the buildd or manually) however
> > it's maintainer was able to build it successfully on faure...so my only
> > idea is faure isn't up to date sid and there's something broken in the
> > newer packages.
> Try it again with the patch below....it's a long story :-P I haven't
> finished the compilation yet, so I haven't tested it fully, but it does
> allow children.c to compile (I need to go holiday shopping).
> Here's the patch:
> diff -burN gentoo-0.11.18/src/gentoo.h gentoo-patched/src/gentoo.h
> --- gentoo-0.11.18/src/gentoo.h Sat Sep 1 15:21:37 2001
> +++ gentoo-patched/src/gentoo.h Sat Dec 8 17:19:21 2001
> @@ -13,14 +13,14 @@
> #include "config.h"
> -#if !defined __alpha /* I've heard this helps on Alpha systems... */
> +#if !(defined(__alpha) && defined(__osf__)) /* I've heard this helps on Alpha systems... */
> #define __EXTENSIONS__
> #define _POSIX_C_SOURCE 3 /* This is for Solaris. */
> #define POSIX_C_SOURCE 3
> -#endif /* !__alpha */
> +#endif /* !__alpha && !__osf__ */
> -#if defined __osf__ && defined __alpha__ /* On Tru64, this should bring in mknod(). */
> +#if defined(__osf__) && defined(__alpha__) /* On Tru64, this should bring in mknod(). */
> #define _XOPEN_SOURCE_EXTENDED
> #define _OSF_SOURCE /* For MAXNAMLEN on Tru64. */
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org