pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/30902: archivers/unrar solaris x86 gcc
>Number: 30902
>Category: pkg
>Synopsis: archivers/unrar solaris x86 gcc
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 03 10:37:00 +0000 2005
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic i86pc
>Description:
unrar won't compile on solaris x86
g++ -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c sha1.cpp
+ g++ -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c sha1.cpp
sha1.cpp:21:6: #error "LITTLE_ENDIAN or BIG_ENDIAN must be defined"
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/archivers/unrar/work/unrar
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/archivers/unrar
>How-To-Repeat:
bmake in archivers/unrar
>Fix:
<root@u2: 832> diff -u sha1.cpp.dist sha1.cpp
--- sha1.cpp.dist Wed Aug 3 12:31:10 2005
+++ sha1.cpp Wed Aug 3 12:29:47 2005
@@ -15,7 +15,7 @@
*/
#if !defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN)
- #if defined(_M_IX86) || defined(_M_I86) || defined(__alpha)
+ #if defined(_M_IX86) || defined(_M_I86) || defined(__alpha) ||
defined(_LITTLE_ENDIAN)
#define LITTLE_ENDIAN
#else
#error "LITTLE_ENDIAN or BIG_ENDIAN must be defined"
Home |
Main Index |
Thread Index |
Old Index