update to 0.31.1
This commit is contained in:
parent
883e20b660
commit
941b97b04d
16
neon-0.31.1-endian.patch
Normal file
16
neon-0.31.1-endian.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/src/ne_md5.c b/src/ne_md5.c
|
||||
index f07041c..2a8458e 100644
|
||||
--- a/src/ne_md5.c
|
||||
+++ b/src/ne_md5.c
|
||||
@@ -426,9 +426,9 @@ void *
|
||||
md5_read_ctx (const struct md5_ctx *ctx, void *resbuf)
|
||||
{
|
||||
#ifdef HAVE_OPENSSL
|
||||
-#define SWAP_CTX(x) (ctx->ctx.x)
|
||||
+#define SWAP_CTX(x) SWAP(ctx->ctx.x)
|
||||
#else
|
||||
-#define SWAP_CTX(x) (ctx->x)
|
||||
+#define SWAP_CTX(x) SWAP(ctx->x)
|
||||
#endif
|
||||
|
||||
((md5_uint32 *) resbuf)[0] = SWAP_CTX (A);
|
||||
@ -8,6 +8,7 @@ License: LGPLv2+
|
||||
URL: https://notroj.github.io/neon/
|
||||
Source0: https://notroj.github.io/neon/neon-%{version}.tar.gz
|
||||
Patch0: neon-0.27.0-multilib.patch
|
||||
Patch1: neon-0.31.1-endian.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: expat-devel, openssl-devel, zlib-devel, krb5-devel, libproxy-devel
|
||||
BuildRequires: pkgconfig, pakchois-devel
|
||||
@ -37,6 +38,7 @@ The development library for the C language HTTP and WebDAV client library.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .multilib
|
||||
%patch1 -p1 -b .endian
|
||||
|
||||
# prevent installation of HTML docs
|
||||
sed -ibak '/^install-docs/s/install-html//' Makefile.in
|
||||
|
||||
Loading…
Reference in New Issue
Block a user