]> git.proxmox.com Git - mirror_zfs-debian.git/blob - debian/patches/1000-ppc64el-endian-support.patch
Merge tag 'upstream/0.6.5.7'
[mirror_zfs-debian.git] / debian / patches / 1000-ppc64el-endian-support.patch
1 Description: Fix endian build problem on ppc64el
2 Drop endian override in powerpc architecture definition
3 allowing both big and little endian builds.
4 Author: Andy Whitcroft <apw@ubuntu.com>
5 Origin: ubuntu
6 Forwarded: no
7 Reviewed-By: Petter Reinholdtsen <pere@hungry.com>
8 Last-Update: 2016-05-12
9
10 Index: zfs-linux-0.6.5.3/lib/libspl/include/sys/isa_defs.h
11 ===================================================================
12 --- zfs-linux-0.6.5.3.orig/lib/libspl/include/sys/isa_defs.h 2015-10-27 14:36:37.904604893 -0600
13 +++ zfs-linux-0.6.5.3/lib/libspl/include/sys/isa_defs.h 2015-10-27 14:36:58.008605392 -0600
14 @@ -98,8 +98,8 @@
15 #endif
16 #endif
17
18 -#if !defined(_BIG_ENDIAN)
19 -#define _BIG_ENDIAN
20 +#if !defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN)
21 +#error powerpc no endian specified
22 #endif
23
24 #define _SUNOS_VTOC_16