From edad5fb1071b140a26bbadc2806ccdb95bb467c5 Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 1 Feb 2021 13:50:29 +0300 Subject: [PATCH] New package: hashcash-1.23 --- srcpkgs/hashcash/patches/musl.patch | 11 +++++++++++ srcpkgs/hashcash/template | 14 ++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/hashcash/patches/musl.patch create mode 100644 srcpkgs/hashcash/template diff --git a/srcpkgs/hashcash/patches/musl.patch b/srcpkgs/hashcash/patches/musl.patch new file mode 100644 index 00000000000..5c8cf15b38e --- /dev/null +++ b/srcpkgs/hashcash/patches/musl.patch @@ -0,0 +1,11 @@ +--- array.h 2011-03-31 15:35:12.000000000 +0400 ++++ array.h 2021-02-02 15:45:43.232048145 +0300 +@@ -3,6 +3,8 @@ + #if !defined( _array_h ) + #define _array_h + ++#include ++ + #if defined( __cplusplus ) + extern "C" { + #endif diff --git a/srcpkgs/hashcash/template b/srcpkgs/hashcash/template new file mode 100644 index 00000000000..5e325ef2feb --- /dev/null +++ b/srcpkgs/hashcash/template @@ -0,0 +1,14 @@ +# Template file for 'hashcash' +pkgname=hashcash +version=1.23 +revision=1 +build_style=gnu-makefile +make_build_args="LIBCRYPTO=-lcrypto generic-openssl docs" +makedepends="libressl-devel" +short_desc="Hashcash proof-of-work algorithm" +maintainer="Kirill Che. " +license="GPL-3.0-or-later" +homepage="http://www.hashcash.org" +distfiles="http://www.hashcash.org/source/hashcash-${version}-pr.tgz" +checksum=03a85b6a8a84be93f76a7297fccd5f61dcb8255de25f3fbd77c26be3ef9be999 +conflicts="outils"