RPM Community Forums

Mailing List Message of <rpm-devel>

Fwd: [Th] rpm@sparc64 (LZMA broken on 64bit platforms?)

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 15 Oct 2007 - 00:03:19 CEST
Message-Id: <0CC00F5F-6FD7-40E9-84CB-F4DD931F76A4@mac.com>
Grrr, everyone has to have their own private typedefs for ints.

Begin forwarded message:

> From: Tomasz Mateja <tommat@pimpek.one.pl>
> Date: October 14, 2007 3:54:33 PM EDT
> To: Jeff Johnson <n3npq@mac.com>
> Subject: Re: [Th] rpm@sparc64
>
> Jeff Johnson napisał(a):
>> Could you try to verify that SizeT is actually "size_t" and not  
>> uint32?
>> 73 de Jeff
> I think I've got the solution :)
>
> --- rpm-4.4.9/rpmio/LzmaDecode.h.orig   2007-10-14  
> 19:23:02.629594398 +0000
> +++ rpm-4.4.9/rpmio/LzmaDecode.h        2007-10-14  
> 19:23:16.628653630 +0000
> @@ -35,7 +35,7 @@
>  /* #define _LZMA_LOC_OPT */
>  /* Enable local speed optimizations inside code */
>
> -/* #define _LZMA_SYSTEM_SIZE_T */
> +#define _LZMA_SYSTEM_SIZE_T
>  /* Use system's size_t. You can use it to enable 64-bit sizes  
> supporting*/
>
>  #ifndef UInt32
>
> I need to test this but seems to work. I wonder why this is not on  
> by default. Thank you Jeff very much, this is great step forward  
> for PLD@sparc :)
>
> I'll let you know more when I'll test it.
>
> Best regards.
>
> -- 
> T.
Received on Mon Oct 15 00:04:14 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.