summaryrefslogtreecommitdiffstats
path: root/src/libarchive-1-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/libarchive-1-fixes.patch')
-rw-r--r--src/libarchive-1-fixes.patch29
1 files changed, 24 insertions, 5 deletions
diff --git a/src/libarchive-1-fixes.patch b/src/libarchive-1-fixes.patch
index 8576f8d..8d9423e 100644
--- a/src/libarchive-1-fixes.patch
+++ b/src/libarchive-1-fixes.patch
@@ -2,14 +2,14 @@ This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
-From 47b80beedcb3d8e6296e2d0b970bb0c82abb4424 Mon Sep 17 00:00:00 2001
-From: MXE
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "fix@me" <fix@me>
Date: Tue, 14 Feb 2012 12:40:24 +0100
Subject: [PATCH] fix pkg-config
diff --git a/build/pkgconfig/libarchive.pc.in b/build/pkgconfig/libarchive.pc.in
-index 95d7159..8288f31 100644
+index 1111111..2222222 100644
--- a/build/pkgconfig/libarchive.pc.in
+++ b/build/pkgconfig/libarchive.pc.in
@@ -8,4 +8,4 @@ Description: library that can create and read several streaming archive formats
@@ -18,6 +18,25 @@ index 95d7159..8288f31 100644
Libs: -L${libdir} -larchive
-Libs.private: @LIBS@
+Libs.private: @LIBS@ -liconv
---
-1.7.8.3
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Tim Kientzle <kientzle@acm.org>
+Date: Sun, 16 Jul 2017 16:10:08 -0700
+Subject: [PATCH] Issue #924: fix capitalization of bcrypt.h header
+
+taken from:
+https://github.com/libarchive/libarchive/commit/06052e47e500ef4c8c937c4c8b987433a647cb4c
+
+diff --git a/libarchive/archive_cryptor_private.h b/libarchive/archive_cryptor_private.h
+index 1111111..2222222 100644
+--- a/libarchive/archive_cryptor_private.h
++++ b/libarchive/archive_cryptor_private.h
+@@ -64,7 +64,7 @@ typedef struct {
+ } archive_crypto_ctx;
+
+ #elif defined(_WIN32) && !defined(__CYGWIN__) && defined(HAVE_BCRYPT_H)
+-#include <Bcrypt.h>
++#include <bcrypt.h>
+
+ /* Common in other bcrypt implementations, but missing from VS2008. */
+ #ifndef BCRYPT_SUCCESS