ruby: bump version to 2.4.1
[buildroot-gz.git] / package / p7zip / 0001-bfin.patch
blob76addb652feea52d0a04e9018ea3ed5703473eda
1 Add support for blackfin arch.
3 Fixes compilation error:
4 ../../../../CPP/myWindows/mySplitCommandLine.cpp:99:8: error: #error ENDIANNESS
6 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
7 (Patch sent upstream: https://sourceforge.net/p/p7zip/patches/33/
9 diff -uNr p7zip_15.14.1.org/C/CpuArch.h p7zip_15.14.1/C/CpuArch.h
10 --- p7zip_15.14.1.org/C/CpuArch.h 2016-02-17 07:27:16.000000000 +0100
11 +++ p7zip_15.14.1/C/CpuArch.h 2016-06-08 19:47:49.000000000 +0200
12 @@ -66,6 +66,7 @@
13 || defined(__MIPSEL__) \
14 || defined(__MIPSEL) \
15 || defined(_MIPSEL) \
16 + || defined(__BFIN__) \
17 || (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__))
18 #define MY_CPU_LE
19 #endif