gsoap: update to 2.8.41.
This commit is contained in:
parent
f57b4db265
commit
28daed5a50
|
@ -0,0 +1,43 @@
|
|||
--- gsoap/plugin/smdevp.c.orig 2017-01-15 20:09:56.876555589 +0100
|
||||
+++ gsoap/plugin/smdevp.c 2017-01-15 20:10:50.012509531 +0100
|
||||
@@ -306,6 +306,40 @@ the digest or signature produced.
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER)
|
||||
+static EVP_MD_CTX *EVP_MD_CTX_new(void)
|
||||
+{
|
||||
+ EVP_MD_CTX *ctx = (EVP_MD_CTX *)malloc(sizeof(*ctx));
|
||||
+ if (ctx != NULL)
|
||||
+ EVP_MD_CTX_init(ctx);
|
||||
+ return ctx;
|
||||
+}
|
||||
+
|
||||
+static void EVP_MD_CTX_free(EVP_MD_CTX *ctx)
|
||||
+{
|
||||
+ if (ctx != NULL) {
|
||||
+ EVP_MD_CTX_cleanup(ctx);
|
||||
+ free(ctx);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+static HMAC_CTX *HMAC_CTX_new(void)
|
||||
+{
|
||||
+ HMAC_CTX *ctx = (HMAC_CTX *)malloc(sizeof(*ctx));
|
||||
+ if (ctx != NULL)
|
||||
+ HMAC_CTX_init(ctx);
|
||||
+ return ctx;
|
||||
+}
|
||||
+
|
||||
+static void HMAC_CTX_free(HMAC_CTX *ctx)
|
||||
+{
|
||||
+ if (ctx != NULL) {
|
||||
+ HMAC_CTX_cleanup(ctx);
|
||||
+ free(ctx);
|
||||
+ }
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
/******************************************************************************\
|
||||
*
|
||||
* Static protos
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'gsoap'
|
||||
pkgname=gsoap
|
||||
version=2.8.40
|
||||
version=2.8.41
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="unzip flex autoconf"
|
||||
|
@ -13,7 +13,7 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|||
license="GPL-3"
|
||||
homepage="http://www.cs.fsu.edu/~engelen/soap.html"
|
||||
distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
|
||||
checksum=54ef56d9c55a6a7a00ae57f8cb0b3266af1b26e623070be2ef20833626157f77
|
||||
checksum=72336c1d9a7989d05dba94d1f88753242705027ebcfc5dcea72fd094cefe4c80
|
||||
wrksrc="${pkgname}-${version%.*}"
|
||||
disable_parallel_build=yes
|
||||
|
||||
|
|
Loading…
Reference in New Issue