Update to rhash-1.4.1

Changelog: https://github.com/rhash/RHash/blob/v1.4.1/ChangeLog
This commit is contained in:
bket 2021-03-06 19:31:56 +00:00
parent a570369957
commit d6a112ef70
3 changed files with 4 additions and 20 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.8 2020/07/29 13:33:22 bket Exp $
# $OpenBSD: Makefile,v 1.9 2021/03/06 19:31:56 bket Exp $
COMMENT = utility and library for computing hash sums
DISTNAME = rhash-1.4.0-src
DISTNAME = rhash-1.4.1-src
PKGNAME = ${DISTNAME:S/-src$//}
SHARED_LIBS = rhash 0.0

View File

@ -1,2 +1,2 @@
SHA256 (rhash-1.4.0-src.tar.gz) = LqOVQPXFgNoOZV97SDwZ4NMVBq7UIC2I6EWfp67riGE=
SIZE (rhash-1.4.0-src.tar.gz) = 406433
SHA256 (rhash-1.4.1-src.tar.gz) = QwyBJzPmm3jwfOMKBdtpVjRQ5B4heuYYUHpM4uFEopc=
SIZE (rhash-1.4.1-src.tar.gz) = 413274

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-librhash_byte_order_h,v 1.2 2019/11/24 04:43:26 bket Exp $
hppa is big endian.
Index: librhash/byte_order.h
--- librhash/byte_order.h.orig
+++ librhash/byte_order.h
@@ -68,7 +68,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) || define(__hppa__)
# define RHASH_BYTE_ORDER RHASH_BYTE_ORDER_BE
#else
# error "Can't detect CPU architechture"