Created attachment 158220 [details] armv6 fix Hi, p5-Crypt-RHash fails to build on armv6: ===> Building for p5-Crypt-RHash-0.91_1 /nxb-bin/usr/bin/cc -c -Ilibrhash -O2 -pipe -mfloat-abi=softfp -fno-strict-aliasing -O2 -pipe -mfloat-abi=softfp -fno-strict-aliasing -DVERSION=\"0.91\" -DXS_VERSION=\"0.91\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" _torrent.c In file included from _torrent.c:23: librhash/byte_order.h:59:3: error: "Can't detect CPU architechture" # error "Can't detect CPU architechture" ^ 1 error generated. The attached patches fixes that. build log: http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/p5-Crypt-RHash-0.91_1.log
Have you submitted the patch upstream ?
(In reply to Mathieu Arnold from comment #1) No
Bugreport upstream at https://sourceforge.net/p/rhash/bugs/51/ that points to this bug report.
Committed. Thanks!
A commit references this bug: Author: mat Date: Mon Mar 21 14:04:21 UTC 2016 New revision: 411564 URL: https://svnweb.freebsd.org/changeset/ports/411564 Log: Fix build on arm6. PR: 201248 Submitted by: mikael urankar gmail com Sponsored by: Absolight Changes: head/security/p5-Crypt-RHash/files/patch-librhash__rhash_torrent.h head/security/p5-Crypt-RHash/files/patch-librhash_byte__order.h head/security/p5-Crypt-RHash/files/patch-librhash_rhash__torrent.h