asignify: unbreak musl build; switch to tarball.
This commit is contained in:
parent
4b6650b776
commit
ef5202e18c
2 changed files with 30 additions and 5 deletions
26
srcpkgs/asignify/patches/musl.patch
Normal file
26
srcpkgs/asignify/patches/musl.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
--- libasignify/sha2.h.orig 2015-06-13 11:00:00.647603180 +0200
|
||||
+++ libasignify/sha2.h 2015-06-13 11:00:43.070069529 +0200
|
||||
@@ -59,7 +59,11 @@ typedef struct _SHA2_CTX {
|
||||
uint8_t buffer[SHA512_BLOCK_LENGTH];
|
||||
} SHA2_CTX;
|
||||
|
||||
-__BEGIN_DECLS
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
+
|
||||
void SHA256Init(SHA2_CTX *);
|
||||
void SHA256Transform(uint32_t state[8], const uint8_t [SHA256_BLOCK_LENGTH]);
|
||||
void SHA256Update(SHA2_CTX *, const uint8_t *, size_t);
|
||||
@@ -79,6 +83,9 @@ char *SHA512End(SHA2_CTX *, char *);
|
||||
char *SHA512File(const char *, char *);
|
||||
char *SHA512FileChunk(const char *, char *, off_t, off_t);
|
||||
char *SHA512Data(const uint8_t *, size_t, char *);
|
||||
-__END_DECLS
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
+#endif
|
||||
|
||||
#endif /* _SHA2_H */
|
|
@ -1,17 +1,16 @@
|
|||
# Template file for 'asignify'
|
||||
pkgname=asignify
|
||||
version=1.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="git automake libtool"
|
||||
hostmakedepends="automake libtool"
|
||||
short_desc="Yet another signify tool"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="2-clause-BSD"
|
||||
homepage="https://github.com/vstakhov/asignify"
|
||||
distfiles="https://github.com/vstakhov/asignify/archive/${version}.tar.gz"
|
||||
checksum=81272713900b51049633139549181fa23e56eeb580e0ea0325546d2fe7ca503d
|
||||
|
||||
do_fetch() {
|
||||
git clone -b${version} git://github.com/vstakhov/asignify ${wrksrc}
|
||||
}
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue