Hi ports --

security/rhash doesn't build on hppa. Because it is missing __hppa__ on its list of big endian archs. Add it, and rhash builds just fine on hppa.

OK?

~Brian

Index: patches/patch-librhash_byte_order_h
===================================================================
RCS file: patches/patch-librhash_byte_order_h
diff -N patches/patch-librhash_byte_order_h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-librhash_byte_order_h	15 Apr 2019 16:54:42 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+hppa is big endian.
+
+Index: librhash/byte_order.h
+--- librhash/byte_order.h.orig
++++ librhash/byte_order.h
+@@ -55,7 +55,7 @@ extern "C" {
+ 	defined(__POWERPC__) || defined(POWERPC) || defined(__powerpc) || \
+ 	defined(__powerpc__) || defined(__powerpc64__) || defined(__ppc__) || \
+ 	defined(__hpux)  || defined(_MIPSEB) || defined(mc68000) || \
+-	defined(__s390__) || defined(__s390x__) || defined(sel)
++	defined(__s390__) || defined(__s390x__) || defined(sel) || defined(__hppa__)
+ # define CPU_BIG_ENDIAN
+ # define IS_BIG_ENDIAN 1
+ # define IS_LITTLE_ENDIAN 0

Reply via email to