aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-RHash
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-03-21 14:04:21 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-03-21 14:04:21 +0000
commit7db4c89194204249b237a86cff6ccd0c4ec42ca6 (patch)
treec8a900f70267141ac982dd294e6b3a3ae674dec3 /security/p5-Crypt-RHash
parentd0d07140c15bc87a14032da863354cde455172e3 (diff)
downloadports-7db4c89194204249b237a86cff6ccd0c4ec42ca6.tar.gz
ports-7db4c89194204249b237a86cff6ccd0c4ec42ca6.zip
Fix build on arm6.
PR: 201248 Submitted by: mikael urankar gmail com Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=411564
Diffstat (limited to 'security/p5-Crypt-RHash')
-rw-r--r--security/p5-Crypt-RHash/files/patch-librhash_byte__order.h11
-rw-r--r--security/p5-Crypt-RHash/files/patch-librhash_rhash__torrent.h (renamed from security/p5-Crypt-RHash/files/patch-librhash__rhash_torrent.h)0
2 files changed, 11 insertions, 0 deletions
diff --git a/security/p5-Crypt-RHash/files/patch-librhash_byte__order.h b/security/p5-Crypt-RHash/files/patch-librhash_byte__order.h
new file mode 100644
index 000000000000..b1791203b505
--- /dev/null
+++ b/security/p5-Crypt-RHash/files/patch-librhash_byte__order.h
@@ -0,0 +1,11 @@
+--- librhash/byte_order.h.orig 2014-01-29 13:28:04 UTC
++++ librhash/byte_order.h
+@@ -40,7 +40,7 @@ extern "C" {
+ __BYTE_ORDER == __LITTLE_ENDIAN) || \
+ defined(CPU_IA32) || defined(CPU_X64) || \
+ defined(__ia64) || defined(__ia64__) || defined(__alpha__) || defined(_M_ALPHA) || \
+- defined(vax) || defined(MIPSEL) || defined(_ARM_)
++ defined(vax) || defined(MIPSEL) || defined(_ARM_) || defined(__arm__)
+ # define CPU_LITTLE_ENDIAN
+ # define IS_BIG_ENDIAN 0
+ # define IS_LITTLE_ENDIAN 1
diff --git a/security/p5-Crypt-RHash/files/patch-librhash__rhash_torrent.h b/security/p5-Crypt-RHash/files/patch-librhash_rhash__torrent.h
index 4f97af214516..4f97af214516 100644
--- a/security/p5-Crypt-RHash/files/patch-librhash__rhash_torrent.h
+++ b/security/p5-Crypt-RHash/files/patch-librhash_rhash__torrent.h