Subject: Re: pkg/30902
To: None <wiz@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 08/03/2005 16:02:02
The following reply was made to PR pkg/30902; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: wiz@NetBSD.org, pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org,
	gnats-admin@NetBSD.org, dauphin@enst.fr
Cc: 
Subject: Re: pkg/30902
Date: Wed, 3 Aug 2005 16:52:24 +0200 (CEST)

 I am please to provide:
 -------------------------------------------------------------------------------
 <root@u2: 388> diff -u os.hpp.dist os.hpp
 --- os.hpp.dist Sun May  1 17:08:50 2005
 +++ os.hpp      Wed Aug  3 16:44:33 2005
 @@ -131,7 +131,8 @@
  
  #endif
  
 -#ifdef _UNIX
 +/*#ifdef _UNIX */
 +#if defined(__unix) || defined(__unix__) || defined(_UNIX)
  
  #define  NM  1024
  
 @@ -205,6 +206,12 @@
       #define BIG_ENDIAN
    #endif
  #endif
 +
 +#if defined(__i386) || defined(i386) || defined(__i386__)
 +  #ifndef LITTLE_ENDIAN
 +     #define LITTLE_ENDIAN
 +  #endif
 +#endif
  
  #endif
 -----------------------------------------------------------------------------
 > From: wiz@NetBSD.org
 > 
 > Synopsis: archivers/unrar solaris x86 gcc
 > 
 > Responsible-Changed-From-To: pkg-manager->wiz
 > Responsible-Changed-By: wiz@netbsd.org
 > Responsible-Changed-When: Wed, 03 Aug 2005 10:48:59 +0000
 > Responsible-Changed-Why:
 > I'll take this.
 > 
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: wiz@netbsd.org
 > State-Changed-When: Wed, 03 Aug 2005 10:48:59 +0000
 > State-Changed-Why:
 > It looks like the correct place to fix this in the unrar sources
 > would be os.hpp.
 > Or we make use of the pkgsrc/mk/endian.mk file and pass down
 > the proper -D option in CPPFLAGS.
 > Could you please provide a patch for either of these?
 > Thanks.
 > 
 >