aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hping3/hping3-bytesex.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-12-01 15:14:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-01 15:14:42 +0000
commit7010ba761e45cde3ba2be1f8e66d30b358733cb4 (patch)
tree06a7d9bd15077af245bcd22cfe6a93776acf9111 /testing/hping3/hping3-bytesex.patch
parent3258c46ee8f7275733afbeb31e58227fd408072b (diff)
downloadaports-7010ba761e45cde3ba2be1f8e66d30b358733cb4.tar.bz2
aports-7010ba761e45cde3ba2be1f8e66d30b358733cb4.tar.xz
testing/hping3: move back
does not build
Diffstat (limited to 'testing/hping3/hping3-bytesex.patch')
-rw-r--r--testing/hping3/hping3-bytesex.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/hping3/hping3-bytesex.patch b/testing/hping3/hping3-bytesex.patch
new file mode 100644
index 0000000000..b58d6ea66e
--- /dev/null
+++ b/testing/hping3/hping3-bytesex.patch
@@ -0,0 +1,23 @@
+--- bytesex.h.orig 2003-08-31 19:23:48.000000000 +0200
++++ bytesex.h 2009-05-25 09:40:31.000000000 +0200
+@@ -9,13 +9,19 @@
+
+ #if defined(__i386__) \
+ || defined(__alpha__) \
++ || defined(__x86_64__) \
++ || defined(__ia64__) \
++ || defined(__sh__) \
++ || (defined(__arm__) && defined(__ARMEL__)) \
+ || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
+ #define BYTE_ORDER_LITTLE_ENDIAN
+ #elif defined(__mc68000__) \
++ || defined (__s390__) \
+ || defined (__sparc__) \
+ || defined (__sparc) \
+ || defined (__PPC__) \
+ || defined (__BIG_ENDIAN__) \
++ || (defined(__arm__) && defined(__ARMEB__)) \
+ || (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))
+ #define BYTE_ORDER_BIG_ENDIAN
+ #else
+