From edf22fc5a441c85e777c97352ccd5d1dd64ce2ca Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Thu, 1 Apr 2010 06:00:56 +0000 Subject: [PATCH] [packages] hping3: fix build failure on avr32 (closes: #7006) SVN-Revision: 20646 --- net/hping3/patches/101-endianness.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/hping3/patches/101-endianness.patch b/net/hping3/patches/101-endianness.patch index 9c89aeebe0..2666647ac7 100644 --- a/net/hping3/patches/101-endianness.patch +++ b/net/hping3/patches/101-endianness.patch @@ -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__) \ -- 2.30.2