mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
lzop build patch
This commit is contained in:
parent
df2ffcd336
commit
99da5c7e45
26
lzop-0001-ACC.patch
Normal file
26
lzop-0001-ACC.patch
Normal file
@ -0,0 +1,26 @@
|
||||
--- a/src/miniacc.h.orig 2016-02-10 16:09:23.247315866 +0100
|
||||
+++ a/src/miniacc.h 2016-02-10 16:12:14.973297054 +0100
|
||||
@@ -4469,12 +4469,12 @@
|
||||
#if defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0150)
|
||||
#elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
|
||||
#else
|
||||
- ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0)
|
||||
+ ACCCHK_ASSERT((int)(1u << (8*SIZEOF_INT-1)) < 0)
|
||||
#endif
|
||||
ACCCHK_ASSERT((1u << (8*SIZEOF_INT-1)) > 0)
|
||||
#if 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
|
||||
#else
|
||||
- ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0)
|
||||
+ ACCCHK_ASSERT((long)(1ul << (8*SIZEOF_LONG-1)) < 0)
|
||||
#endif
|
||||
ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0)
|
||||
#if defined(acc_int16e_t)
|
||||
@@ -4703,7 +4703,7 @@
|
||||
#elif 1 && (ACC_CC_LCC || ACC_CC_LCCWIN32) && !defined(ACCCHK_CFG_PEDANTIC)
|
||||
#elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
|
||||
#elif !(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1)
|
||||
- ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
|
||||
+ ACCCHK_ASSERT( (int)((unsigned int)((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
|
||||
#endif
|
||||
#if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0530) && (__BORLANDC__ < 0x0560))
|
||||
# pragma option pop
|
1
mk.patch
1
mk.patch
@ -15,6 +15,7 @@ if [ ! -e buildroot ]; then
|
||||
mv buildroot-2015.02-rc2 buildroot
|
||||
cp dvb-apps-0002-Fix-broken-bitops-on-arm.patch buildroot/package/dvb-apps/
|
||||
cp busybox-0001-Fix-zcip-arp-compare.patch buildroot/package/busybox/
|
||||
cp lzop-0001-ACC.patch buildroot/package/lzop/
|
||||
if [ -e dl ]; then
|
||||
ln -sf ../dl buildroot
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user