]> git.draconx.ca Git - gentoo-draconx.git/blob - net-libs/libmapi/files/libmapi-2.3-fix-pidl-compilation.patch
gnome-extra/evolution-mapi: Bump.
[gentoo-draconx.git] / net-libs / libmapi / files / libmapi-2.3-fix-pidl-compilation.patch
1 From fab721a44b25bb4a6efcce792c8f6b33b6e48889 Mon Sep 17 00:00:00 2001
2 From: Nick Bowler <nbowler@draconx.ca>
3 Date: Thu, 8 Sep 2022 17:45:43 -0400
4 Subject: [PATCH 3/3] Fix PIDL compilation
5
6 ---
7  exchange.idl | 10 +++++-----
8  1 file changed, 5 insertions(+), 5 deletions(-)
9
10 diff --git a/exchange.idl b/exchange.idl
11 index 9847b4d..008aa88 100644
12 --- a/exchange.idl
13 +++ b/exchange.idl
14 @@ -465,12 +465,12 @@ System Attendant Private Interface
15            would otherwise break the data alignment on wire operations.
16            However, they must be defined here as they make use of the same array types. */
17  
18 -       typedef [nopush,nopull,noprint] struct {
19 +       typedef struct {
20                 [range(0,100000)] uint32        cValues;
21                 [size_is(cValues)] hyper        *lpui8; 
22         } UI8Array_r;
23  
24 -       typedef [switch_type(uint32),nopush,nopull,noprint] union {
25 +       typedef [switch_type(uint32)] union {
26                 [case(PT_I2)]                   uint16                  i;
27                 [case(PT_LONG)]                 uint32                  l;
28                 [case(PT_DOUBLE)]               double                  dbl;
29 @@ -495,19 +495,19 @@ System Attendant Private Interface
30                 [case(PT_OBJECT)]               uint32                  object;
31         } SPropValue_CTR;
32  
33 -       typedef [public,noprint,nopush,nopull] struct {
34 +       typedef [public] struct {
35                 MAPITAGS ulPropTag;
36                 uint32 dwAlignPad;
37                 [switch_is(ulPropTag & 0xFFFF)] SPropValue_CTR value; 
38         } SPropValue;
39         
40 -       typedef [public,noprint,nopush,nopull] struct {
41 +       typedef [public] struct {
42                 uint32                          ulAdrEntryPad;
43                 [range(0,100000)] uint32        cValues;
44                 [size_is(cValues)]SPropValue    *lpProps;
45         } SRow;
46  
47 -       typedef [public,noprint,nopush,nopull] struct {
48 +       typedef [public] struct {
49                 [range(0,100000)] uint32        cRows;
50                 [size_is(cRows)] SRow           aRow[];
51         } SRowSet;
52 -- 
53 2.35.1
54