Changeset 15226


Ignore:
Timestamp:
2009-04-13T15:17:14+02:00 (9 years ago)
Author:
florian
Message:

[package] fix hping3 compilation failure on armeb (#4933)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/hping3/patches/101-endianness.patch

    r15166 r15226  
    3535                th_x2:4;                /* (unused) */ 
    3636 #else 
     37diff -urN hping3-20051105/bytesex.h hping3-20051105.new/bytesex.h 
     38--- hping3-20051105/bytesex.h   2003-08-31 19:23:48.000000000 +0200 
     39+++ hping3-20051105.new/bytesex.h       2009-04-13 15:14:52.000000000 +0200 
     40@@ -9,9 +9,11 @@ 
     41  
     42 #if    defined(__i386__) \ 
     43        || defined(__alpha__) \ 
     44+       || (defined(__arm__) && (defined(ARMEL) || defined(__ARMEL__)))  \ 
     45        || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__))) 
     46 #define BYTE_ORDER_LITTLE_ENDIAN 
     47-#elif  defined(__mc68000__) \ 
     48+#elif defined(__mc68000__) \ 
     49+       || (defined(__arm__) && (defined(ARMEB) || defined(__ARMEB__))) \ 
     50        || defined (__sparc__) \ 
     51        || defined (__sparc) \ 
     52        || defined (__PPC__) \ 
Note: See TracChangeset for help on using the changeset viewer.