Changeset 36236


Ignore:
Timestamp:
2013-04-07T00:57:17+02:00 (5 years ago)
Author:
nico
Message:

[packages] xmail: fix endianness detection

  • fix endianness detection (closes: #9913)
  • bump release number
Location:
packages/mail/xmail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/mail/xmail/Makefile

    r33058 r36236  
    11# 
    2 # Copyright (C) 2007-2012 OpenWrt.org 
     2# Copyright (C) 2007-2013 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=xmail 
    1111PKG_VERSION:=1.26 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/mail/xmail/patches/030-sysmachine.patch

    r11977 r36236  
    22--- xmail-1.25.orig/SysMachine.h        1970-01-01 01:00:00.000000000 +0100 
    33+++ xmail-1.25/SysMachine.h     2008-07-28 10:16:47.000000000 +0200 
    4 @@ -0,0 +1,24 @@ 
     4@@ -0,0 +1,30 @@ 
    55+#ifndef _MACHDEFS_H 
    66+#define _MACHDEFS_H 
    77+ 
    88+ 
     9+#include <endian.h> 
     10+ 
     11+#if __BYTE_ORDER == __LITTLE_ENDIAN 
    912+#undef MACH_BIG_ENDIAN_WORDS 
    10 + 
    1113+#undef MACH_BIG_ENDIAN_BITFIELD 
     14+#elif __BYTE_ORDER == __BIG_ENDIAN 
     15+#define MACH_BIG_ENDIAN_WORDS 
     16+#define MACH_BIG_ENDIAN_BITFIELD 
     17+#endif 
    1218+ 
    1319+typedef signed char MachInt8; 
Note: See TracChangeset for help on using the changeset viewer.