Gentoo Archives: gentoo-commits

From: "Wulf Krueger (philantrop)" <philantrop@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-pda/pilot-link/files: pilot-link-0.12.3-int_types.patch
Date: Thu, 20 Dec 2007 23:09:10
Message-Id: E1J5UVf-0001yl-EW@stork.gentoo.org
1 philantrop 07/12/20 23:08:59
2
3 Added: pilot-link-0.12.3-int_types.patch
4 Log:
5 Added an upstream patch to fix 64-bit issues causing problems in some applications using pilot-link (e. g. jpilot, bug 87842). Disabled parallel make for now as it's badly broken (bug 202857).
6 (Portage version: 2.1.4_rc9)
7
8 Revision Changes Path
9 1.1 app-pda/pilot-link/files/pilot-link-0.12.3-int_types.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/pilot-link/files/pilot-link-0.12.3-int_types.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/pilot-link/files/pilot-link-0.12.3-int_types.patch?rev=1.1&content-type=text/plain
13
14 Index: pilot-link-0.12.3-int_types.patch
15 ===================================================================
16 --- pilot-link-0.12.3/include/pi-md5.h 2006-10-17 15:24:07.000000000 +0200
17 +++ pilot-link/include/pi-md5.h 2007-12-18 04:03:09.000000000 +0100
18 @@ -1,5 +1,5 @@
19 /*
20 - * $Id: pilot-link-0.12.3-int_types.patch,v 1.1 2007/12/20 23:08:58 philantrop Exp $
21 + * $Id: pilot-link-0.12.3-int_types.patch,v 1.1 2007/12/20 23:08:58 philantrop Exp $
22 *
23 * pi-md5.h: Header file for Colin Plumb's MD5 implementation.
24 * Modified by Ian Jackson so as not to use Colin Plumb's
25 @@ -13,8 +13,20 @@
26 #ifndef MD5_H
27 #define MD5_H
28
29 +#include "config.h"
30 +#if HAVE_INTTYPES_H
31 +#include <inttypes.h>
32 +#endif
33 +#if HAVE_STDINT_H
34 +#include <stdint.h>
35 +#endif
36 +#ifdef HAVE_INTTYPES_H || HAVE_STDINT_H
37 +#define UINT8 uint8_t
38 +#define UINT32 uint32_t
39 +#else
40 #define UINT8 unsigned char
41 -#define UINT32 unsigned long
42 +#define UINT32 unsigned int
43 +#endif
44
45 struct MD5Context {
46 UINT32 buf[4];
47
48
49
50 --
51 gentoo-commits@g.o mailing list