python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / lzop / 0001-build-with-gcc6.patch
blob774ee54a656c9f6bc5e1a49780593808bfdecd91
1 From: Jaap Crezee <jaap@jcz.nl>
2 Date: Sat, 25 june 2016 13:13:00 +0200
3 Subject: [PATCH 1/1] fix compilation host-lzop with gcc-6
5 This patch allows host-lzop to be compiled with host systems containing gcc-6
7 Upstream patch found here:
8 https://build.opensuse.org/package/view_file/Archiving/lzop/lzop-1.03-gcc6.patch?expand=1
10 Signed-off-by: Jaap Crezee <jaap@jcz.nl>
12 --- a/src/miniacc.h.orig 2016-02-10 16:09:23.247315866 +0100
13 +++ b/src/miniacc.h 2016-02-10 16:12:14.973297054 +0100
14 @@ -4469,12 +4469,12 @@
15 #if defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0150)
16 #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
17 #else
18 - ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0)
19 + ACCCHK_ASSERT((int)(1u << (8*SIZEOF_INT-1)) < 0)
20 #endif
21 ACCCHK_ASSERT((1u << (8*SIZEOF_INT-1)) > 0)
22 #if 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
23 #else
24 - ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0)
25 + ACCCHK_ASSERT((long)(1ul << (8*SIZEOF_LONG-1)) < 0)
26 #endif
27 ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0)
28 #if defined(acc_int16e_t)
29 @@ -4703,7 +4703,7 @@
30 #elif 1 && (ACC_CC_LCC || ACC_CC_LCCWIN32) && !defined(ACCCHK_CFG_PEDANTIC)
31 #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
32 #elif !(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1)
33 - ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
34 + ACCCHK_ASSERT( (int)((unsigned int)((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
35 #endif
36 #if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0530) && (__BORLANDC__ < 0x0560))
37 # pragma option pop