community/hping: v8 fix

This commit is contained in:
Kevin Mihelich 2016-01-08 02:36:49 +00:00
parent b8797198e7
commit 5613fb087f
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
# Contributor: Kevin Piche <kevin@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - added ARM to bytesex.h.patch
# - added ARM and AArch64 to bytesex.h.patch
pkgname=hping
pkgver=3.0.0
@ -18,7 +18,7 @@ source=("http://www.hping.org/hping3-20051105.tar.gz"
'bytesex.h.patch')
md5sums=('ca4ea4e34bcc2162aedf25df8b2d1747'
'339a38f86169d1b9344287a85201afbe'
'e49b0297610b071bb66951dfb983816a')
'27f390e387b95bc6e7316e4e6616a9a6')
build() {
cd "${srcdir}/hping3-20051105"

View file

@ -7,7 +7,7 @@ diff -urN a/bytesex.h b/bytesex.h
|| defined(__alpha__) \
+ || defined(__x86_64__) \
+ || defined(__ia64__) \
+ || defined(__arm__) \
+ || defined(__arm__) || defined(__AARCH64EL__) \
|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
#define BYTE_ORDER_LITTLE_ENDIAN
#elif defined(__mc68000__) \