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

Re: [ pkg-hurd-Patches-301184 ] FTBFS - nas-1.7



On Sun, Feb 13, 2005 at 09:54:11AM -0700, Barry deFreese wrote:
> OK, I was able to build nas-1.7.
> 
> diff -urp nas-1.7.old/lib/audio/Alibnet.h nas-1.7/lib/audio/Alibnet.h
> --- nas-1.7.old/lib/audio/Alibnet.h     2005-02-07 08:44:18.000000000 -0500
> +++ nas-1.7/lib/audio/Alibnet.h 2005-02-07 08:42:21.000000000 -0500
> @@ -43,6 +43,10 @@ without express or implied warranty.
>   * Xlibnet.h - Xlib networking include files for UNIX Systems.
>   */
> 
> +#ifndef NOFILES_MAX
> +# define NOFILES_MAX 255
> +#endif
> +
>  #ifndef _NCD_ALIBNET_H_
>  #define _NCD_ALIBNET_H_
> 

This part can hopefully be fixed more elegantly.  There is similar but
more sophisticated code for defining NOFILES_MAX in server/os/osdep.h
which you could copy.  It is uncertain whether this is the right fix for
us, though.  But it would be an improvement IMHO.

> diff -urp nas-1.7.old/server/Imakefile nas-1.7/server/Imakefile
> --- nas-1.7.old/server/Imakefile        2005-02-07 08:44:41.000000000 -0500
> +++ nas-1.7/server/Imakefile    2005-02-07 08:42:37.000000000 -0500
> @@ -91,7 +91,7 @@ RCMANDIR = $(MANDIR)
>  #define BuildSGIServer
>  #endif
> 
> -#if defined(HPArchitecture) && !defined(LinuxArchitecture) && !defined(GNUArchitecture)
> +#if defined(HPArchitecture) && !defined(LinuxArchitecture) && !defined(GNUArchitecture) && !defined(GNUMachArchitecture)

Xfree86's Imake config stuff has this (in xc/config/cf/Imake.cf):

#ifdef MACH
#ifdef __GNU__
#define MacroIncludeFile <gnu.cf>
#define MacroFile gnu.cf
#define GNUMachArchitecture

while there is no mention of GNUArchitecture AFAICT.  So I guess
GNUArchitecture is either outdated, bogus or wrong and should simply be replaced by GNUMachArchitecture.


Michael

PS: This was the first time we hacked on some stuff on IRC, banged our
heads at it, and then, through a google search, found out that 'Barry
did it already' :)

-- 
Michael Banck
Debian Developer
mbanck@debian.org
http://www.advogato.org/person/mbanck/diary.html



Reply to: