From 2569e2382b3cbb51eba429679d57ecd86e1f9ba0 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 1 Mar 2016 15:53:35 +0100 Subject: [PATCH] rhash: fix endian detection on musl. --- srcpkgs/rhash/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/rhash/template b/srcpkgs/rhash/template index c44f878e9b2..d2754f86526 100644 --- a/srcpkgs/rhash/template +++ b/srcpkgs/rhash/template @@ -1,7 +1,7 @@ # Template file for 'rhash' pkgname=rhash version=1.3.3 -revision=1 +revision=2 wrksrc="RHash-${version}" build_style=gnu-makefile conf_files="/etc/rhashrc" @@ -12,6 +12,10 @@ homepage="https://github.com/rhash/RHash" distfiles="https://github.com/rhash/RHash/archive/v${version}.tar.gz" checksum=60272e1955a9655308ebe64b1240d76906a7ea8fab81baaab706560fc4251838 +post_extract() { + sed -i 's/__GLIBC__/__linux__/' librhash/byte_order.h +} + post_install() { vlicense COPYING }