Commit bbbea821 authored by Sören Tempel's avatar Sören Tempel
Browse files

testing/hping3: fix build on riscv64

RISC-V uses little-endian byte ordering.
parent 84db99c4
......@@ -40,5 +40,7 @@ package() {
install -m644 -D docs/hping3.8 "$pkgdir"/usr/share/man/man8/hping3.8
}
sha512sums="3b3faa836e70054c8f9f004d876b7eb5f668b64826a6aaf8ca3685619111d9df4eb494a7d38b83cea6cb5f0bd164956461039bf4f73f7c7e90d80cede639b2b3 hping3-20051105.tar.gz
036391326f3b1edff46e4deea9c10f21347d507c3979e21225b91915f12376b535ab696174bdc68119cec19e43108d9790b49091ce483ec78f84e520561c643e hping3-bytesex.patch"
sha512sums="
3b3faa836e70054c8f9f004d876b7eb5f668b64826a6aaf8ca3685619111d9df4eb494a7d38b83cea6cb5f0bd164956461039bf4f73f7c7e90d80cede639b2b3 hping3-20051105.tar.gz
1e1798e0258048d29c845bb3c5f47fe13d2f6d21970a31baee8ab61b8ba64d81778577b6efb026861a5c54f55454ca263ff5b0f43fca3e33b7338aee1db23ba4 hping3-bytesex.patch
"
--- a/bytesex.h.orig 2003-08-31 19:23:48.000000000 +0200
+++ b/bytesex.h 2009-05-25 09:40:31.000000000 +0200
@@ -9,13 +9,19 @@
diff -upr hping3-20051105.orig/bytesex.h hping3-20051105/bytesex.h
--- hping3-20051105.orig/bytesex.h 2021-07-11 12:34:59.678008233 +0200
+++ hping3-20051105/bytesex.h 2021-07-11 12:35:37.094708356 +0200
@@ -9,13 +9,20 @@
#if defined(__i386__) \
|| defined(__alpha__) \
+ || defined(__x86_64__) \
+ || defined(__ia64__) \
+ || defined(__riscv) \
+ || defined(__sh__) \
+ || (defined(__arm__) && defined(__ARMEL__)) || defined(__AARCH64EL__) \
|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment