[packages] hping3: fix build failure on avr32 (closes: #7006)
authorNicolas Thill <nico@openwrt.org>
Thu, 1 Apr 2010 06:00:56 +0000 (06:00 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 1 Apr 2010 06:00:56 +0000 (06:00 +0000)
SVN-Revision: 20646

net/hping3/patches/101-endianness.patch

index 9c89aeebe092845be714411e66597209a4ec82a1..2666647ac77eea73e94c4c32d104e2263fa44a7f 100644 (file)
@@ -36,7 +36,7 @@
  #else
 --- a/bytesex.h
 +++ b/bytesex.h
-@@ -9,9 +9,11 @@
+@@ -9,9 +9,12 @@
  
  #if   defined(__i386__) \
        || defined(__alpha__) \
@@ -46,6 +46,7 @@
 -#elif         defined(__mc68000__) \
 +#elif defined(__mc68000__) \
 +      || (defined(__arm__) && (defined(ARMEB) || defined(__ARMEB__))) \
++      || defined (__avr32__) \
        || defined (__sparc__) \
        || defined (__sparc) \
        || defined (__PPC__) \