mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
RHash: revbump (#5377)
This commit is contained in:
22
app-crypt/rhash/patches/rhash-1.4.0.patchset
Normal file
22
app-crypt/rhash/patches/rhash-1.4.0.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 2db8b9e337e073f52c762f12373632044fefe340 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
|
||||
Date: Sat, 31 Oct 2020 12:41:12 +0100
|
||||
Subject: Haiku have no alligned_alloc
|
||||
|
||||
|
||||
diff --git a/librhash/util.h b/librhash/util.h
|
||||
index 6accc7b..0a4db35 100644
|
||||
--- a/librhash/util.h
|
||||
+++ b/librhash/util.h
|
||||
@@ -39,7 +39,7 @@ extern "C" {
|
||||
# define rhash_aligned_alloc(alignment, size) _aligned_malloc((size), (alignment))
|
||||
# define rhash_aligned_free(ptr) _aligned_free(ptr)
|
||||
|
||||
-#elif (__STDC_VERSION__ >= 201112L || defined(_ISOC11_SOURCE)) && !defined(__APPLE__)
|
||||
+#elif (__STDC_VERSION__ >= 201112L || defined(_ISOC11_SOURCE)) && !defined(__APPLE__) && !defined(__HAIKU__)
|
||||
|
||||
# define HAS_STDC_ALIGNED_ALLOC
|
||||
# include <stdlib.h>
|
||||
--
|
||||
2.28.0
|
||||
|
||||
@@ -9,10 +9,11 @@ Hash sums are used to ensure and verify integrity of large volumes of data for\
|
||||
HOMEPAGE="https://github.com/rhash/RHash"
|
||||
COPYRIGHT="2005-2020 Aleksey Kravchenko"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/rhash/RHash/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="2ea39540f5c580da0e655f7b483c19e0d31506aed4202d88e8459fa7aeeb8861"
|
||||
SOURCE_DIR="RHash-$portVersion"
|
||||
PATCHES="rhash-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
Reference in New Issue
Block a user