]> git.pld-linux.org Git - packages/openchange.git/commitdiff
- fix building with samba 4.11 auto/th/openchange-2.3-44
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Nov 2019 21:30:44 +0000 (22:30 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Nov 2019 21:30:44 +0000 (22:30 +0100)
- rel 44

openchange.spec
samba-4.11.patch [new file with mode: 0644]

index edb2c5908671b0885ff625f3083614ea7cdec1fa..a7f84aab125a25acb78e816c0cd9ccf4f570241b 100644 (file)
@@ -12,7 +12,7 @@ Summary:      OpenChange - portable implementation of MS Exchange Server and Exchange
 Summary(pl.UTF-8):     OpenChange - przenośna implementacja serwera oraz protokołów MS Exchange
 Name:          openchange
 Version:       2.3
-Release:       43
+Release:       44
 License:       GPL v3+
 Group:         Libraries
 Source0:       https://github.com/openchange/openchange/archive/%{name}-%{version}-%{cname}.tar.gz
@@ -26,6 +26,7 @@ Patch5:               samba-4.4.patch
 Patch6:                %{name}-covscan.patch
 Patch7:                %{name}-samba-4.10-macros.patch
 Patch8:                %{name}-libical.patch
+Patch9:                samba-4.11.patch
 URL:           https://github.com/openchange
 BuildRequires: QtCore-devel >= 4.3.0
 BuildRequires: QtGui-devel >= 4.3.0
@@ -218,6 +219,7 @@ Wtyczka Nagiosa do sprawdzania usług Exchange/OpenChange.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 # no switch for verbose mode, enable manually :/
 %{__sed} -i -e 's/^    @\(\$(\(PIDL\|CC\|CXX\|MOC\)\)/ \1/' Makefile
diff --git a/samba-4.11.patch b/samba-4.11.patch
new file mode 100644 (file)
index 0000000..b95a21f
--- /dev/null
@@ -0,0 +1,41 @@
+diff -up openchange-openchange-2.3-VULCAN/exchange.idl.samba-4.11 openchange-openchange-2.3-VULCAN/exchange.idl
+--- openchange-openchange-2.3-VULCAN/exchange.idl.samba-4.11   2015-05-16 17:22:04.000000000 +0200
++++ openchange-openchange-2.3-VULCAN/exchange.idl      2019-08-30 07:23:02.172309353 +0200
+@@ -465,12 +465,12 @@ System Attendant Private Interface
+          would otherwise break the data alignment on wire operations.
+          However, they must be defined here as they make use of the same array types. */
+-      typedef [nopush,nopull,noprint] struct {
++      typedef [public] struct {
+               [range(0,100000)] uint32        cValues;
+               [size_is(cValues)] hyper        *lpui8; 
+       } UI8Array_r;
+-      typedef [switch_type(uint32),nopush,nopull,noprint] union {
++      typedef [switch_type(uint32)] union {
+               [case(PT_I2)]                   uint16                  i;
+               [case(PT_LONG)]                 uint32                  l;
+               [case(PT_DOUBLE)]               double                  dbl;
+@@ -495,19 +495,19 @@ System Attendant Private Interface
+               [case(PT_OBJECT)]               uint32                  object;
+       } SPropValue_CTR;
+-      typedef [public,noprint,nopush,nopull] struct {
++      typedef [public] struct {
+               MAPITAGS ulPropTag;
+               uint32 dwAlignPad;
+               [switch_is(ulPropTag & 0xFFFF)] SPropValue_CTR value; 
+       } SPropValue;
+       
+-      typedef [public,noprint,nopush,nopull] struct {
++      typedef [public] struct {
+               uint32                          ulAdrEntryPad;
+               [range(0,100000)] uint32        cValues;
+               [size_is(cValues)]SPropValue    *lpProps;
+       } SRow;
+-      typedef [public,noprint,nopush,nopull] struct {
++      typedef [public] struct {
+               [range(0,100000)] uint32        cRows;
+               [size_is(cRows)] SRow           aRow[];
+       } SRowSet;
This page took 0.179305 seconds and 4 git commands to generate.