Ignore:
Timestamp:
07/02/13 06:45:43 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
6e8238f
Parents:
5a110d6
Message:

Update ZFS feature flag patch for GRUB to enable BIG_ENDIAN support
on FreeBSD

Sugested by: Xin Li <delphij@…>

While here bump PORTREVISION

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build-files/ports-overlay/sysutils/grub2/files/patch-grub-2.00-zfs-feature-flag-support

    rff9dd98 rab9281c  
    396396--- /dev/null 
    397397+++ grub-core/fs/zfs/zfs_lz4.c 
    398 @@ -0,0 +1,321 @@ 
     398@@ -0,0 +1,317 @@ 
    399399+/* 
    400400+ * LZ4 - Fast LZ compression algorithm 
     
    456456+ * Note: overwrite the below #define if you know your architecture endianess. 
    457457+ */ 
    458 +#if (defined(__BIG_ENDIAN__) || defined(__BIG_ENDIAN) || \ 
    459 +       defined(_BIG_ENDIAN) || defined(_ARCH_PPC) || defined(__PPC__) || \ 
    460 +       defined(__PPC) || defined(PPC) || defined(__powerpc__) || \ 
    461 +       defined(__powerpc) || defined(powerpc) || \ 
    462 +       ((defined(__BYTE_ORDER__)&&(__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)))) 
     458+#if BYTE_ORDER == BIG_ENDIAN 
    463459+#define        LZ4_BIG_ENDIAN  1 
    464460+#else 
Note: See TracChangeset for help on using the changeset viewer.